Search Results for

    Show / Hide Table of Contents

    Class PdfPaperSizeConverter

    Class for converting PDF paper sizes from the PdfPaperSize enum to millimeters.

    Inheritance
    System.Object
    PdfPaperSizeConverter
    Namespace: IronPdf.Rendering
    Assembly: IronPdf.dll
    Syntax
    public static class PdfPaperSizeConverter : Object

    Methods

    ToMillimeters(PdfPaperSize)

    Converts the given PdfPaperSize value to its equivalent size in millimeters.

    Declaration
    public static (Length, Length) ToMillimeters(this PdfPaperSize paperSize)
    Parameters
    Type Name Description
    PdfPaperSize paperSize

    The PdfPaperSize value to convert.

    Returns
    Type Description
    System.ValueTuple<Length, Length>

    A tuple that contains the width and height in millimeters for the specified PdfPaperSize enum value.

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