Azure Connectors Node.js SDK
    Preparing search index...

    Interface PdfToXmlInput

    PDF To XML

    interface PdfToXmlInput {
        async?: boolean;
        expiration?: number;
        inline?: boolean;
        lang?: string;
        lineGrouping?: string;
        name?: string;
        pages?: string;
        password?: string;
        profiles?: string;
        rect?: string;
        unwrap?: string;
        url: string;
    }
    Index
    async?: boolean

    Set to true for long processes to run in the background, API will then return a jobId which you can use with JobCheck endpoint to check the status of the process and retrieve the output while you can proceed with other tasks without waiting for this process to finish.

    expiration?: number

    Set the expiration time for the output link in minutes (default is 60 i.e 60 minutes or 1 hour), After this specified duration, any generated output file(s) will be automatically deleted from PDF.co temporary files storage. The maximum duration for link expiration varies based on your current subscription plan.

    inline?: boolean
    lang?: string

    Set the language for OCR (text from image) to use for scanned PDF, PNG, and JPG documents input when extracting text. The default is “eng”. Other languages are also supported: deu, spa, chi_sim, jpn, and many others (full list of supported OCR languages is here (https://developer.pdf.co/api/pdf-make-text-searchable-or-unsearchable/index.html#language-support). You can also use 2 languages simultaneously like this: eng+deu or jpn+kor (any combination).

    lineGrouping?: string

    Line grouping within table cells. Set to 1 to enable the grouping.

    name?: string

    File name for the generated output

    pages?: string

    Comma-separated list of page indices (or ranges) to process. The very first page starts at 0 (zero). To set a range use the dash -, for example: 0,2-5,7-. To set a range from the index to the last page use range like this: 2- (from page #3 as the index starts at zero and till the of the document). For ALL pages just leave this param empty. Example: 0,2-5,7- means first page, then 3rd page to 6th page, and then the range from 8th (index = 7) page till the end of the document.

    password?: string

    password

    profiles?: string

    This parameter can be used to set additional configurations for fine-tuning and to enable more options. Visit PDF.co knowledgebase (https://developer.pdf.co/api/profiles/index.html) for profile examples and more.

    rect?: string

    Defines coordinates for extraction, e.g. 51.8, 114.8, 235.5, 204.0. Use PDF.co PDF Edit Add Helper (https://app.pdf.co/pdf-edit-add-helper) to get or measure pdf coordinates.

    unwrap?: string

    Unwrap lines into a single line within table cells when lineGrouping is enabled.

    url: string

    URL to the source file. Supports links from Google Drive, Dropbox, and PDF.co built-in files storage.