共用方式為


PageSetup.Orientation Property

Definition

orientation, this property is only available in Office 2016 and later.

Represents the following attribute in the schema: orientation

[DocumentFormat.OpenXml.SchemaAttr(0, "orientation")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation> Orientation { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation> Orientation { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "orientation")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation>? Orientation { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("orientation")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation>? Orientation { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation>? Orientation { get; set; }
member this.Orientation : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "orientation")>]
member this.Orientation : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("orientation")>]
member this.Orientation : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.PageOrientation> with get, set
Public Property Orientation As EnumValue(Of PageOrientation)

Property Value

Attributes

Applies to