Search Results for

    Show / Hide Table of Contents

    Interface IPdfRenderOptions

    Namespace: IronPdf
    Assembly: IronPdf.dll
    Syntax
    public interface IPdfRenderOptions

    Properties

    ApplyMarginToHeaderAndFooter

    Declaration
    bool ApplyMarginToHeaderAndFooter { get; set; }
    Property Value
    Type Description
    System.Boolean

    CreatePdfFormsFromHtml

    Declaration
    bool CreatePdfFormsFromHtml { get; set; }
    Property Value
    Type Description
    System.Boolean

    CssMediaType

    Declaration
    PdfCssMediaType CssMediaType { get; set; }
    Property Value
    Type Description
    PdfCssMediaType

    CustomCssUrl

    Declaration
    string CustomCssUrl { get; set; }
    Property Value
    Type Description
    System.String

    CustomPaperHeight

    Declaration
    double CustomPaperHeight { get; set; }
    Property Value
    Type Description
    System.Double

    CustomPaperWidth

    Custom paper width, in mm

    Declaration
    double CustomPaperWidth { get; set; }
    Property Value
    Type Description
    System.Double

    DPI

    Declaration
    int DPI { get; set; }
    Property Value
    Type Description
    System.Int32

    EnableJavaScript

    Declaration
    bool EnableJavaScript { get; set; }
    Property Value
    Type Description
    System.Boolean

    FirstPageNumber

    Declaration
    int FirstPageNumber { get; set; }
    Property Value
    Type Description
    System.Int32

    FitToPaperMode

    Declaration
    FitToPaperModes FitToPaperMode { get; set; }
    Property Value
    Type Description
    IronPdf.Engines.Chrome.FitToPaperModes

    FitToPaperWidth

    Declaration
    bool FitToPaperWidth { get; set; }
    Property Value
    Type Description
    System.Boolean

    ForcePaperSize

    Declaration
    bool ForcePaperSize { get; set; }
    Property Value
    Type Description
    System.Boolean

    GrayScale

    Declaration
    bool GrayScale { get; set; }
    Property Value
    Type Description
    System.Boolean

    HtmlFooter

    Declaration
    HtmlHeaderFooter HtmlFooter { get; set; }
    Property Value
    Type Description
    HtmlHeaderFooter

    HtmlHeader

    Declaration
    HtmlHeaderFooter HtmlHeader { get; set; }
    Property Value
    Type Description
    HtmlHeaderFooter

    InputEncoding

    Declaration
    Encoding InputEncoding { get; set; }
    Property Value
    Type Description
    System.Text.Encoding

    Javascript

    Declaration
    string Javascript { get; set; }
    Property Value
    Type Description
    System.String

    JavascriptMessageListener

    Declaration
    StringDelegate JavascriptMessageListener { get; set; }
    Property Value
    Type Description
    StringDelegate

    JpegQuality

    Declaration
    int JpegQuality { get; set; }
    Property Value
    Type Description
    System.Int32

    MarginBottom

    Declaration
    double MarginBottom { get; set; }
    Property Value
    Type Description
    System.Double

    MarginLeft

    Declaration
    double MarginLeft { get; set; }
    Property Value
    Type Description
    System.Double

    MarginRight

    Declaration
    double MarginRight { get; set; }
    Property Value
    Type Description
    System.Double

    MarginTop

    Declaration
    double MarginTop { get; set; }
    Property Value
    Type Description
    System.Double

    PaperOrientation

    Declaration
    PdfPaperOrientation PaperOrientation { get; set; }
    Property Value
    Type Description
    PdfPaperOrientation

    PaperSize

    Declaration
    PdfPaperSize PaperSize { get; set; }
    Property Value
    Type Description
    PdfPaperSize

    PrintHtmlBackgrounds

    Declaration
    bool PrintHtmlBackgrounds { get; set; }
    Property Value
    Type Description
    System.Boolean

    RenderDelay

    Declaration
    int RenderDelay { get; set; }
    Property Value
    Type Description
    System.Int32

    RequestContext

    Declaration
    RequestContexts RequestContext { get; set; }
    Property Value
    Type Description
    RequestContexts

    TextFooter

    Declaration
    ITextHeaderFooter TextFooter { get; set; }
    Property Value
    Type Description
    IronPdf.ITextHeaderFooter

    TextHeader

    Declaration
    ITextHeaderFooter TextHeader { get; set; }
    Property Value
    Type Description
    IronPdf.ITextHeaderFooter

    Timeout

    Declaration
    int Timeout { get; set; }
    Property Value
    Type Description
    System.Int32

    Title

    Declaration
    string Title { get; set; }
    Property Value
    Type Description
    System.String

    UseMarginsOnHeaderAndFooter

    Declaration
    UseMargins UseMarginsOnHeaderAndFooter { get; set; }
    Property Value
    Type Description
    UseMargins

    ViewPortHeight

    Declaration
    int ViewPortHeight { get; set; }
    Property Value
    Type Description
    System.Int32

    ViewPortWidth

    Declaration
    int ViewPortWidth { get; set; }
    Property Value
    Type Description
    System.Int32

    WaitFor

    Declaration
    WaitFor WaitFor { get; set; }
    Property Value
    Type Description
    WaitFor

    Zoom

    Declaration
    int Zoom { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    Clone()

    Declaration
    object Clone()
    Returns
    Type Description
    System.Object

    SetCustomPaperSizeinCentimeters(Double, Double)

    Declaration
    void SetCustomPaperSizeinCentimeters(double width, double height)
    Parameters
    Type Name Description
    System.Double width
    System.Double height

    SetCustomPaperSizeInInches(Double, Double)

    Declaration
    void SetCustomPaperSizeInInches(double width, double height)
    Parameters
    Type Name Description
    System.Double width
    System.Double height

    SetCustomPaperSizeinMilimeters(Double, Double)

    Declaration
    void SetCustomPaperSizeinMilimeters(double width, double height)
    Parameters
    Type Name Description
    System.Double width
    System.Double height

    SetCustomPaperSizeinPixelsOrPoints(Double, Double, Int32)

    Declaration
    void SetCustomPaperSizeinPixelsOrPoints(double width, double height, int DPI = 96)
    Parameters
    Type Name Description
    System.Double width
    System.Double height
    System.Int32 DPI
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.