Share via


VerticalTextAlignment.Val Property

Definition

Value

Represents the following attribute in the schema: val

[DocumentFormat.OpenXml.SchemaAttr(0, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.VerticalAlignmentRunValues> Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.VerticalAlignmentRunValues> Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.VerticalAlignmentRunValues>? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.VerticalAlignmentRunValues>? Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.VerticalAlignmentRunValues>? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.VerticalAlignmentRunValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.VerticalAlignmentRunValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Spreadsheet.VerticalAlignmentRunValues> with get, set
Public Property Val As EnumValue(Of VerticalAlignmentRunValues)

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.

An enumeration representing the vertical-alignment setting.

Setting this to either subscript or superscript shall make the font size smaller if a smaller font size is available.

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

Applies to