Search Results for

    Show / Hide Table of Contents

    Class QPdfJsonOptions

    Options for converting PDF to JSON format.

    Inheritance
    System.Object
    QPdfJsonOptions
    Namespace: IronSoftware.Pdfium.QPdf
    Assembly: IronPdf.dll
    Syntax
    public class QPdfJsonOptions : Object

    Constructors

    QPdfJsonOptions()

    Initializes a new instance of the QPdfJsonOptions class with default settings.

    Declaration
    public QPdfJsonOptions()

    Properties

    DecodeLevel

    Gets or sets the decode level for streams.

    Declaration
    public PdfStreamDecodeLevel DecodeLevel { get; set; }
    Property Value
    Type Description
    PdfStreamDecodeLevel

    FilePrefix

    Gets or sets the file prefix for external stream data files. Only used when StreamDataMode is File.

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

    JsonVersion

    Gets or sets the JSON version to output. Version 2 is the modern QPDF JSON format with rich metadata. Default is 2.

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

    StreamDataMode

    Gets or sets how to handle stream data in the JSON output.

    Declaration
    public PdfJsonStreamDataMode StreamDataMode { get; set; }
    Property Value
    Type Description
    PdfJsonStreamDataMode

    Methods

    ForComparison()

    Creates a new instance optimized for PDF comparison. Uses None stream data mode for smallest output.

    Declaration
    public static QPdfJsonOptions ForComparison()
    Returns
    Type Description
    QPdfJsonOptions
    ☀
    ☾
    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.