Partager via


Shape.HorizontalAlignment Property

Horizontal Rule Alignment.Represents the attribte in schema: o:hralign

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

Syntax

'Declaration
<SchemaAttrAttribute(, "hralign")> _
Public Property HorizontalAlignment As EnumValue(Of HorizontalRuleAlignmentValues)
    Get
    Set
'Usage
Dim instance As Shape
Dim value As EnumValue(Of HorizontalRuleAlignmentValues)

value = instance.HorizontalAlignment

instance.HorizontalAlignment = value
[SchemaAttrAttribute(, "hralign")]
public EnumValue<HorizontalRuleAlignmentValues> HorizontalAlignment { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<HorizontalRuleAlignmentValues>
Returns EnumValue<T>.

See Also

Reference

Shape Class

Shape Members

DocumentFormat.OpenXml.Vml Namespace