Table of contents
TOC
Réduire la table des matières
Développer la table des matières

TextRange2.ParagraphFormat, propriété (PowerPoint)TextRange2.ParagraphFormat Property (PowerPoint)

office 365 dev account|Dernière mise à jour: 29/09/2017
|
1 Contributeur

Renvoie un objet ParagraphFormat qui représente la mise en forme pour le texte spécifié. En lecture seule.Returns a ParagraphFormat object that represents paragraph formatting for the specified text. Read-only.

SyntaxeSyntax

expression. ParagraphFormatexpression. ParagraphFormat

expression Expression qui renvoie un objet TextRange2 .expression An expression that returns a TextRange2 object.

Valeur renvoyéeReturn Value

ParagraphFormatParagraphFormat

ExempleExample

This example sets the line spacing before, within, and after each paragraph in shape two on slide one in the active PowerPoint presentation.This example sets the line spacing before, within, and after each paragraph in shape two on slide one in the active PowerPoint presentation.

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

Voir aussiSee also

ConceptsConcepts

Objet TextRange2 (PowerPoint)TextRange2 Object (PowerPoint)

© 2018 Microsoft