指定したテキストの段落書式を表す ParagraphFormat オブジェクトを返します。 読み取り専用です。
構文
式。ParagraphFormat
式TextRange2 オブジェクトを返す式。
戻り値
ParagraphFormat
例
次の使用例は、作業中の PowerPoint プレゼンテーションでスライド 1 の図形 2 の各段落の前後、および内部の行間隔を設定します。
With Application.ActivePresentation.Slides(2).Shapes(2)
With .TextFrame.TextRange2.ParagraphFormat
.LineRuleWithin = msoTrue
.SpaceWithin = 1.4
.LineRuleBefore = msoTrue
.SpaceBefore = 0.25
.LineRuleAfter = msoTrue
.SpaceAfter = 0.75
End With
End With
関連項目
サポートとフィードバック
Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。