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

TextEffectFormat.FontItalic 属性 (PowerPoint)TextEffectFormat.FontItalic Property (PowerPoint)

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

确定指定艺术字中的字体是否为斜体。可读/写。Determines whether the font in the specified WordArt is italic. Read/write.

语法Syntax

表达式倾斜字体expression. FontItalic

表达式_一个表示TextEffectFormat对象的变量。_expression A variable that represents a TextEffectFormat object.

返回值Return Value

MsoTriStateMsoTriState

注解Remarks

倾斜字体属性的值可以是其中一个MsoTriState常量。The value of the FontItalic property can be one of these MsoTriState constants.

常量Constant说明Description
msoFalsemsoFalse指定艺术字中的字体不是斜体。The font in the specified WordArt is not italic.
属性值为 msoTruemsoTrue指定艺术字中的字体是斜体。The font in the specified WordArt is italic.

示例Example

本示例设置为倾斜上名为"WordArt 4"的形状的字体myDocumentThis example sets the font to italic for the shape named "WordArt 4" on myDocument.

Set myDocument = ActivePresentation.Slides(1)

myDocument.Shapes("WordArt 4").TextEffect.FontItalic = msoTrue

另请参阅See also

概念Concepts

TextEffectFormat 对象字体对象TextEffectFormat ObjectFont Object

© 2018 Microsoft