Table of contents
TOC
折叠目录
展开目录

Font.ExpandUsingKashida 属性 (发布服务器)Font.ExpandUsingKashida Property (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
3 参与人员

返回或设置一个MsoTriState常量,该常量,指示是否在跟踪对阿拉伯文字时应用 kashida 规则。读/写。Returns or sets an MsoTriState constant indicating whether to apply kashida rules while applying tracking to Arabic text. Read/write.

语法Syntax

表达式ExpandUsingKashidaexpression. ExpandUsingKashida

_expression_A 表示字体对象的变量。_expression_A variable that represents an Font object.

返回值Return Value

MsoTriStateMsoTriState

注解Remarks

ExpandUsingKashida属性值可以是一个MsoTriState常量声明在 Microsoft Office 类型库,如下表所示。The ExpandUsingKashida property value can be one of the MsoTriState constants declared in the Microsoft Office type library and shown in the following table.

常量Constant说明Description
msoFalsemsoFalseMicrosoft Publisher 在将跟踪应用于阿拉伯文字时不应用 kashida 规则。Microsoft Publisher does not apply kashida rules while applying tracking to Arabic text.
msoTriStateMixedmsoTriStateMixed返回值,该值指示属性值为 msoTruemsoFalse指定的文字范围的组合。Return value indicating a combination of msoTrue and msoFalse for the specified text range.
msoTriStateTogglemsoTriStateToggle设置值,则值为 msoTruemsoFalse之间切换。Set value that switches between msoTrue and msoFalse.
属性值为 msoTruemsoTruePublisher 在将跟踪应用于阿拉伯文字时应用 kashida 规则。Publisher does apply kashida rules while applying tracking to Arabic text.

示例Example

以下示例将 Publisher 设置为在将跟踪应用于当前出版物的第一页上的所有文字范围中的阿拉伯语文字时应用 kashida 规则。The following example sets Publisher to apply kashida rules while applying tracking to Arabic text for all text ranges on page one of the active publication.

Dim shpLoop As Shape 

For Each shpLoop In ActiveDocument.Pages(1).Shapes 
 If shpLoop.HasTextFrame Then 
 shpLoop.TextFrame.TextRange _ 
 .Font.ExpandUsingKashida = msoTrue 
 End If 
Next shpLoop
© 2018 Microsoft