共用方式為


TableCellProperties.Vertical Property

Definition

Text Direction

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.

Defines the text direction within the cell.

Consider the following example:

<a:tcPr vert="vert270">  
…  
</a:tcPr>  

In this example, we have rotated the layout of the text 270 degrees so that it starts at the bottom of the cell and goes upward toward the top of the cell.

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

Applies to