Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a Section.Orientation object that represents the page orientation for this section. Possible values: Portrait, Landscape, Mixed

\)

{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}
Signature
C#C#
Wiki Markup
{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}{signature:vb.net
vb.net
}
Public Property PageOrientation() As Orientation
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: File menu > Page Setup... > Margins tab > Orientation section \-\- \(Make sure Apply to: This section is selected
)
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle