共用方式為


CommentProperties.TextHAlign Property

textHAlign.Represents the attribte in schema: textHAlign

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "textHAlign")> _
Public Property TextHAlign As EnumValue(Of TextHorizontalAlignmentValues)
    Get
    Set
'Usage
Dim instance As CommentProperties
Dim value As EnumValue(Of TextHorizontalAlignmentValues)

value = instance.TextHAlign

instance.TextHAlign = value
[SchemaAttrAttribute(, "textHAlign")]
public EnumValue<TextHorizontalAlignmentValues> TextHAlign { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<TextHorizontalAlignmentValues>

See Also

Reference

CommentProperties Class

CommentProperties Members

DocumentFormat.OpenXml.Spreadsheet Namespace