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

ParagraphFormat 对象 (PowerPoint)ParagraphFormat Object (PowerPoint)

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

代表文本范围的段落格式。Represents the paragraph formatting of a text range.

示例Example

使用ParagraphFormat属性返回的ParagraphFormat对象。下面的示例从左对齐活动演示文稿第一张幻灯片的第二个形状中的段落。Use the ParagraphFormatproperty to return the ParagraphFormat object. The following example left aligns the paragraphs in shape two on slide one in the active presentation.

ActivePresentation.Slides(1).Shapes(2).TextFrame.TextRange _

    .ParagraphFormat.Alignment = ppAlignLeft

属性Properties

名称Name
AlignmentAlignment
ApplicationApplication
BaseLineAlignmentBaseLineAlignment
项目符号Bullet
FarEastLineBreakControlFarEastLineBreakControl
HangingPunctuationHangingPunctuation
LineRuleAfterLineRuleAfter
LineRuleBeforeLineRuleBefore
LineRuleWithinLineRuleWithin
ParentParent
SpaceAfterSpaceAfter
SpaceBeforeSpaceBefore
SpaceWithinSpaceWithin
TextDirectionTextDirection
自动换行WordWrap

另请参阅See also

其他资源Other resources

PowerPoint 对象模型引用PowerPoint Object Model Reference

© 2018 Microsoft