Partager via


BodyProperties.Vertical Propriété

Définition

Texte vertical

Représente l’attribut suivant dans le schéma : vert

[DocumentFormat.OpenXml.SchemaAttr(0, "vert")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalValues> Vertical { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalValues> Vertical { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "vert")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalValues>? Vertical { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("vert")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalValues>? Vertical { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalValues>? Vertical { get; set; }
member this.Vertical : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "vert")>]
member this.Vertical : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("vert")>]
member this.Vertical : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.TextVerticalValues> with get, set
Public Property Vertical As EnumValue(Of TextVerticalValues)

Valeur de propriété

Retourne EnumValue<T>.

Attributs

Remarques

Les informations suivantes de la norme internationale ECMA ECMA-376 peuvent être utiles lors de l’utilisation de cette classe.

Détermine si le texte dans le corps du texte donné doit être affiché verticalement. Si cet attribut est omis, une valeur de horz, ce qui signifie qu’aucun texte vertical, est implicite.

Prenons le cas où l’utilisateur doit afficher du texte qui apparaît verticalement et a un flux de droite à gauche par rapport à ses colonnes.

<p:txBody>  
  <a:bodyPr vert="wordArtVertRtl" … />  
  …  
  <a:p>  
    …  
    <a:t>This is</a:t>  
    …  
  </a:p>  
  <a:p>  
    …  
    <a:t>some text.</a:t>  
    …  
  </a:p>  
</p:txBody>  

Dans l’exemple DrawingML ci-dessus, il existe deux paragraphes indiquant une séparation entre le texte, qui sont appelés saut de ligne ou de paragraphe. Étant donné que wordArtVertRtl est utilisé ici, ce texte sera non seulement affiché de manière empilée de haut en bas, mais le premier paragraphe sera également affiché à droite du second. Cela est dû au fait qu’il s’agit à la fois de texte vertical et de droite à gauche.

Les valeurs possibles pour cet attribut sont définies par le ST_TextVerticalType type simple.

S’applique à