Search Results for

    Show / Hide Table of Contents

    Class PdfPaperOrientation

    Paper orientation when rendering HTML to PDF

    Inheritance
    System.Object
    PdfPaperOrientation
    Namespace: IronPdf.Rendering
    Assembly: IronPdf.dll
    Syntax
    public sealed class PdfPaperOrientation : Enum

    The PdfPaperOrientation enumeration in IronPDF sets paper orientation when rendering HTML to PDF.

    Part of the IronPdf.Rendering namespace, declared values are Portrait and Landscape (2 total). The value is assigned to ChromePdfRenderOptions.PaperOrientation and pairs with PaperSize to control the final page geometry before the Chrome renderer rasterizes the HTML.

    See page orientation and rotation for typical C# usage.

    Fields

    Landscape

    Declaration
    public const PdfPaperOrientation Landscape
    Field Value
    Type Description
    PdfPaperOrientation

    Portrait

    Declaration
    public const PdfPaperOrientation Portrait
    Field Value
    Type Description
    PdfPaperOrientation

    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