Search Results for

    Show / Hide Table of Contents

    Class PaperOrientation

    Page orientation to use for printing.

    Inheritance
    System.Object
    PaperOrientation
    Namespace: IronPrint
    Assembly: IronPrint.dll
    Syntax
    public sealed class PaperOrientation : Enum

    PaperOrientation selects how the page is rotated for a print job and is assigned to PrintSettings.PaperOrientation. Portrait prints upright for standard documents, Landscape prints sideways for wide tables and spreadsheets, and Automatic follows the document's own orientation. The paper orientation guide shows the property in a complete print job, alongside the other print settings.

    settings.PaperOrientation = PaperOrientation.Landscape;

    Fields

    Automatic

    Use the current orientation of the document.

    Declaration
    public const PaperOrientation Automatic
    Field Value
    Type Description
    PaperOrientation

    Landscape

    Landscape.

    Declaration
    public const PaperOrientation Landscape
    Field Value
    Type Description
    PaperOrientation

    Portrait

    Portrait.

    Declaration
    public const PaperOrientation Portrait
    Field Value
    Type Description
    PaperOrientation

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet