TextRange.ParagraphFormat プロパティ (PowerPoint)

指定したテキストの段落書式を表す ParagraphFormat オブジェクトを返します。 読み取り専用です。

構文

ParagraphFormat

TextRange オブジェクトを表す変数。

戻り値

ParagraphFormat

次の使用例は、作業中のプレゼンテーションのスライド 2 の図形 2 内の、各段落の前後の間隔および段落内での間隔を設定します。

With Application.ActivePresentation.Slides(2).Shapes(2)

    With .TextFrame.TextRange.ParagraphFormat

        .LineRuleWithin = msoTrue

        .SpaceWithin = 1.4

        .LineRuleBefore = msoTrue

        .SpaceBefore = 0.25

        .LineRuleAfter = msoTrue

        .SpaceAfter = 0.75

    End With

End With

関連項目

TextRange オブジェクト

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。