时间: 2021-07-31 作者:daque
2.textformat东西的属性和本领
(1)textformat的本领
本领
证明
textformat.gettextextent
归来包括宽窄和莫大属性(指明文本框华文本的巨细)的东西。
(2)textformat的属性
属性
证明
textformat.align
指定段落的对齐办法。
textformat.blockindent
指定块缩进(以点表白)。
textformat.bold
指定文本能否是粗体。
textformat.bullet
指定文本能否是一个以黑点动作名目标记的无序列表。
textformat.color
指定文本的脸色。
textformat.font
用文本方法指定文本的字体名。
textformat.indent
指定段落榜一个字符的左缩进。
textformat.italic
指定文本能否是斜体。
textformat.leading
指定行间距。
textformat.leftmargin
指定段落左边境(以点为单元)。
textformat.rightmargin
指定段落右边境(以点为单元)。
textformat.tabstops
指定自设置的构图位。
textformat.target
指定表露超链接的欣赏器窗口。
textformat.size
指定文本的字体巨细。
textformat.underline
指定文本能否有下划线。
textformat.url
指定文本链接的url。