当前位置:网站首页>Taishan Office Technology Lecture: how to align and draw words of different sizes on the same line
Taishan Office Technology Lecture: how to align and draw words of different sizes on the same line
2022-06-30 17:36:00 【Liukunpeng】
A line of words with different sizes , There are several schemes for layout drawing :
- Align Top
- Middle alignment
- Align Bottom
- Baseline alignment (OFFICE choice , It should also be the choice of all software )
From the above blog posts , You can see what the baseline is . So how is the baseline of a row determined ? First X Direction layout completed , Secondly, the bank also determines that it is located on this page :
- Traverse all leaves .
- Find the maximum leaf height . Some leaves are pictures , The height exceeds the text leaf .
- Find the biggest leaf BaselineFromBottom.
There are two points to pay attention to :BaseLine To calculate from the bottom up ( Because the height of the row is still uncertain ), Consider the case where there is a border at the bottom .
- Set row height .
- Set up BaselineFromTop
That is, Xinggao -BaselineFromBottom. This facilitates leaf handling .
- draw
According to transitive y, add BaselineFromTop, Is the starting point of text drawing .
边栏推荐
- 如何写一个技术方案
- 万卷书 - 欧洲的门户 [The Gates of Europe]
- Building a basic buildreoot file system
- Cesium-1.72 learning (earth rotation)
- Exch:完整性检查 Database Integrity Checking
- Hyper-V: enable SR-IOV in virtual network
- Development: how to install offline MySQL in Linux system?
- 理解现货白银走势的关键
- Exch:exchange server 2013 is about to end support
- . Net ORM framework hisql practice - Chapter 1 - integrating hisql
猜你喜欢

The new version of Shangding cloud | favorites function has been launched to meet personal use needs

Development: how to install offline MySQL in Linux system?

广电5G正式启航,黄金频段将如何应用引关注

Share 5 commonly used feature selection methods, and you must see them when you get started with machine learning!!!

Splitting. JS text title slow loading JS effect

Advanced Mathematics (Seventh Edition) Tongji University General exercises one person solution

3D图表有效提升数据大屏档次

Required plug-ins for idea

2022上半年盘点:20+主流数据库重大更新及技术要点汇总

Cesium-1.72 learning (eagle eye map of the earth)
随机推荐
Exch:修复丢失的系统邮箱
Canvas mouse control gravity JS effect
美国PARKER派克传感器P8S-GRFLX
svg实现的订票UI效果
知名互联网房屋租赁服务公司物联网关键业务迁移上云实践
IEEE TBD SCI影响因子提升至4.271,位列Q1区!
小程序容器与物联网结合的方式
MySQL之零碎知识点
Cesium-1.72 learning (camera tracking)
【C语言】详解线程 — 线程分离函数 pthread_detach
腾讯云的一场硬仗
TFTP download kernel, NFS mount file system
Write the simplest small program in C language Hello World
Interview shock 60: what will cause MySQL index invalidation?
Unity particle_ Exception display processing
Compile u-boot source code for stm32p157 development board
Exercise book of introduction to database system
【Proteus仿真】Arduino UNO利用74LS148扩展中断
New power of data analysis -- the first open source integrated real-time HTAP database in China was released by stonedb
浅析搭建高速公路视频监控平台的建设方案及必要性