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

    Interface PdfAutoRotatePagesInput

    Rotate PDF Pages (Auto)

    interface PdfAutoRotatePagesInput {
        async?: boolean;
        expiration?: number;
        lang?: string;
        password?: string;
        profiles?: string;
        url: string;
    }
    Index
    async?: boolean

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

    lang?: string

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

    password?: string

    Password of the PDF file

    profiles?: string

    Use this parameter to set additional configurations for fine-tuning and extra options. Explore PDF.co knowledgebase (https://developer.pdf.co/api/profiles/index.html) for profile examples.

    url: string

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