{description} {excerpt}Sets or returns a [Section.Orientation|Section.Orientation] object that represents the page orientation for this section. Possible values: Portrait, Landscape, Mixed{excerpt} {signature:C#} public Orientation PageOrientation{ get; set; } {signature}{signature:vb.net} Public Property PageOrientation() As Orientation {signature} {remarks}MS Word equivalent: File menu > Page Setup... > Margins tab > Orientation section \-\- \(Make sure Apply to: This section is selected\) {remarks} {example}{code:csharp|title=C#} //--- Return PageOrientation Section.Orientation oPageOrientation = oSection.PageOrientation; //--- Set PageOrientation oSection.PageOrientation = Section.Orientation.Landscape; {code} {code:vb.net|title=vb.net} '--- Return PageOrientation Dim oPageOrientation As Section.Orientation = oSection.PageOrientation '--- Set PageOrientation oSection.PageOrientation = Section.Orientation.Landscape {code} {example} |