Viewer ActiveReportsJS API Module

Viewer 模块

类型别名

DocumentLoadEventArgs

DocumentLoadEventArgs: object

Defines the 'documentLoaded' event arg.

类型声明

  • 可选 cancelled?: undefined | false | true

    true if document rendering was cancelled

  • pageCount: number

    number of document pages.

ExportSettings

ExportSettings: Record<string, string | boolean | number | null>

Initial settings for export panel:

var exportSettings = {
    filename: 'NewFile'
};

PanelsLocation

PanelsLocation: "sidebar" | "toolbar"

Viewer panels location

ReportLoadEventArgs

ReportLoadEventArgs: object

'reportLoaded' event arg

类型声明

ViewerMouseMode

ViewerMouseMode: "Pan" | "Selection"

Viewer mouse mode

ViewerRenderMode

ViewerRenderMode: "Galley" | "Paginated"

Viewer render mode

ViewerViewMode

ViewerViewMode: "Continuous" | "SinglePage"

Viewer view mode

ViewerZoomMode

ViewerZoomMode: "FitToWidth" | "FitPage" | number

Viewer zoom mode