Search Results for

    Show / Hide Table of Contents

    Class PdfCssMediaType

    Defines which style-sheet should be rendered. 'Print' or 'Screen'. This matches the CSS3 Media Queries standard.

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

    Fields

    Print

    Use 'print' CSS media styles. Default behavior when viewing print dialog in a browser

    Declaration
    public const PdfCssMediaType Print
    Field Value
    Type Description
    PdfCssMediaType

    Screen

    Use 'screen' CSS media styles. Emulates the display of a browser window.

    Declaration
    public const PdfCssMediaType Screen
    Field Value
    Type Description
    PdfCssMediaType

    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
    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.