BodyProperties.Vertical Property

Definition

Vertical Text

Represents the following attribute in the schema: 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)

Property Value

Returns EnumValue<T>.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Determines if the text within the given text body should be displayed vertically. If this attribute is omitted, then a value of horz, meaning no vertical text, is implied.

Consider the case where the user needs to display text that appears vertical and has a right to left flow with respect to its columns.

<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>  

In the above sample DrawingML there are two paragraphs denoting a separation between the text otherwise which are known as either a line or paragraph break. Because wordArtVertRtl is used here this text will not only be displayed in a stacked manner flowing from top to bottom but also have the first paragraph be displayed to the right of the second. This is because it is both vertical text and right to left.

The possible values for this attribute are defined by the ST_TextVerticalType simple type.

Applies to