PDF Web Viewer
    Preparing search index...

    Interface UploadInputsData

    interface UploadInputsData {
        includeFirstPagePreview?: boolean;
        isCloseDocument?: boolean;
        layout?: DocumentViewModeEnum;
        mode?: ToolTypes;
        openInSidePane?: boolean;
        origin?: IDocumentOrigin;
        pageView?: PdfPageView;
        password?: string;
        path?: string;
        progressCallback?: (progress: number) => void;
        skipSetActive?: boolean;
    }
    Index

    Properties

    includeFirstPagePreview?: boolean
    isCloseDocument?: boolean
    mode?: ToolTypes
    openInSidePane?: boolean

    When true, opens the document into the active side-by-side pane instead of creating a new tab

    origin?: IDocumentOrigin

    The source the file was opened from, recorded in the recent-files history with the entry. Opens that carry none — a host shell's own "Open…", a drag & drop — are still recorded; the history then derives the device from the document's path.

    pageView?: PdfPageView
    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
    skipSetActive?: boolean