TableCellProperties.Vertical 属性

定义

文本方向

表示架构中的以下属性: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)

属性值

返回 EnumValue<T>

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

定义单元格中的文本方向。

请考虑下面的示例:

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

在此示例中,我们已将文本布局旋转 270 度,使其从单元格底部开始,然后向上向单元格顶部移动。

此属性的可能值由 ST_TextVerticalType 简单类型定义。

适用于