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

    Interface ProtectPdfRequest

    Definition: ProtectPdfRequest

    interface ProtectPdfRequest {
        allowAnnotate: boolean;
        allowExtract: boolean;
        allowModification: boolean;
        allowPrinting: boolean;
        documentContent: string;
        newOwnerPassword?: string;
        newUserPassword?: string;
        password?: string;
    }
    Index
    allowAnnotate: boolean

    Allows annotation (e.g. comments, form fill-in, signing) of the PDF file

    allowExtract: boolean

    Allows extraction of text, images, and other media from the PDF file

    allowModification: boolean

    Protect the PDF file from being edited

    allowPrinting: boolean

    Protect the PDF file from being printed out

    documentContent: string

    Raw content of PDF document

    newOwnerPassword?: string

    Enter an optional owner password here. This password can be used to disable document restrictions

    newUserPassword?: string

    Enter an optional user password here. Each time an user opens the PDF he will be asked for this password. If you do not want a password prompt then leave this field blank

    password?: string

    Password to decrypt document