Partager via


ImageFile.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 ImageFile
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

ImageFile Class

ImageFile Members

DocumentFormat.OpenXml.Vml Namespace