PageSize.Orient Property

Page Orientation.Represents the attribte in schema: w:orient

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

Syntax

'Declaration
<SchemaAttrAttribute(, "orient")> _
Public Property Orient As EnumValue(Of PageOrientationValues)
    Get
    Set
'Usage
Dim instance As PageSize
Dim value As EnumValue(Of PageOrientationValues)

value = instance.Orient

instance.Orient = value
[SchemaAttrAttribute(, "orient")]
public EnumValue<PageOrientationValues> Orient { get; set; }

Property Value

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

See Also

Reference

PageSize Class

PageSize Members

DocumentFormat.OpenXml.Wordprocessing Namespace