Note
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Renvoie ou définit une constante PpSlideLayout qui représente la disposition de la diapositive. Lecture-écriture.
Syntaxe
expression. Disposition
Expression Variable qui représente un objet Slide .
Remarques
La valeur de la propriété Layout peut être l’une de ces constantes PpSlideLayout.
| ppLayoutBlank |
| ppLayoutChart |
| ppLayoutChartAndText |
| ppLayoutClipartAndText |
| ppLayoutClipArtAndVerticalText |
| ppLayoutFourObjects |
| ppLayoutLargeObject |
| ppLayoutMediaClipAndText |
| ppLayoutMixed |
| ppLayoutObject |
| ppLayoutObjectAndText |
| ppLayoutObjectOverText |
| ppLayoutOrgchart |
| ppLayoutTable |
| ppLayoutText |
| ppLayoutTextAndChart |
| ppLayoutTextAndClipart |
| ppLayoutTextAndMediaClip |
| ppLayoutTextAndObject |
| ppLayoutTextAndTwoObjects |
| ppLayoutTextOverObject |
| ppLayoutTitle |
| ppLayoutTitleOnly |
| ppLayoutTwoColumnText |
| ppLayoutTwoObjectsAndText |
| ppLayoutTwoObjectsOverText |
| ppLayoutVerticalText |
| ppLayoutVerticalTitleAndText |
| ppLayoutVerticalTitleAndTextOverChart |
Exemple
Cet exemple change la disposition de la diapositive 1 de la présentation active pour inclure un titre et un sous-titre si elle n’avait qu’un titre à l’origine.
With ActivePresentation.Slides(1)
If .Layout = ppLayoutTitleOnly Then
.Layout = ppLayoutTitle
End If
End With
Voir aussi
Assistance et commentaires
Avez-vous des questions ou des commentaires sur Office VBA ou sur cette documentation ? Consultez la rubrique concernant l’assistance pour Office VBA et l’envoi de commentaires afin d’obtenir des instructions pour recevoir une assistance et envoyer vos commentaires.