Search Results for

    Show / Hide Table of Contents

    Class CefRenderSettings

    Inheritance
    System.Object
    CefRenderSettings
    Namespace: IronPdf.Engines.Chrome
    Assembly: IronPdf.dll
    Syntax
    public class CefRenderSettings : Object

    Constructors

    CefRenderSettings()

    Declaration
    public CefRenderSettings()

    Properties

    ApplyMarginToHeaderAndFooter

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

    AutoSizeScreenToPaper

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

    AutoSizeScreenToPaperPPI

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

    EnableBackgrounds

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

    EnableEmulateScreenMediaType

    Enable emulation of "screen" css media type

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

    EnableFormGeneration

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

    EnableLandscapeOrientation

    Enable landscape orientation

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

    FirstPageNumber

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

    FooterHtml

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

    HeaderHtml

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

    MaxFooterHeight

    Max footer height in pixels

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

    MaxHeaderHeight

    Max header height in pixels

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

    PageHeight

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

    PageMarginBottom

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

    PageMarginLeft

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

    PageMarginRight

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

    PageMarginTop

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

    PageMarginType

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

    PageSizeType

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

    PageWidth

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

    PostProcessingJavascript

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

    RenderDelay

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

    SavePath

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

    Scale

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

    Timeout

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

    Title

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

    Methods

    DeletePointer()

    Declaration
    public void DeletePointer()

    Dispose()

    Declaration
    public void Dispose()

    Finalize()

    Declaration
    protected override void Finalize()

    GetPointer()

    Declaration
    public IntPtr GetPointer()
    Returns
    Type Description
    System.IntPtr

    TranslateMarginType(String)

    Translate a margin type string into an enum value

    Declaration
    public static int TranslateMarginType(string type)
    Parameters
    Type Name Description
    System.String type

    Margin type string

    Returns
    Type Description
    System.Int32

    Equivalent enum value

    Operators

    Implicit(CefRenderSettings to IntPtr)

    Declaration
    public static implicit operator IntPtr(CefRenderSettings settings)
    Parameters
    Type Name Description
    CefRenderSettings settings
    Returns
    Type Description
    System.IntPtr
    ☀
    ☾
    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.