PageSetup.Orientation Property

Orientation.Represents the attribte in schema: orientation

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

Syntax

'Declaration
<SchemaAttrAttribute(, "orientation")> _
Public Property Orientation As EnumValue(Of OrientationValues)
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As EnumValue(Of OrientationValues)

value = instance.Orientation

instance.Orientation = value
[SchemaAttrAttribute(, "orientation")]
public EnumValue<OrientationValues> Orientation { get; set; }

Property Value

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

See Also

Reference

PageSetup Class

PageSetup Members

DocumentFormat.OpenXml.Spreadsheet Namespace