PDF Web Viewer
    Preparing search index...

    Interface IOpenDocumentOptions

    Options for opening an existing PDF document

    interface IOpenDocumentOptions {
        file: File;
        password?: string;
        path?: string;
        progressCallback?: (progress: number) => void;
        readOnly?: boolean;
    }

    Hierarchy

    • IFileDataFile
      • IOpenDocumentOptions
    Index

    Properties

    file: File
    password?: string
    path?: string

    Host-app file path of the document — stored on the session and passed to the device save handler.

    progressCallback?: (progress: number) => void
    readOnly?: boolean

    If true, the document will be opened in read-only mode (no editing allowed).