[]
Ƭ DocumentLoadEventArgs: Object
Defines the 'documentLoaded' event arg.
Name | Type | Description |
---|---|---|
cancelled? |
boolean |
true if document rendering was cancelled |
pageCount |
number |
number of document pages. |
Ƭ ExportSettings: Record
<string
, string
| boolean
| number
| null
>
Initial settings for export panel:
var exportSettings = {
filename: 'NewFile'
};
Ƭ LoadResult: { document
: IDocument
; status
: "loaded"
} | { details?
: string
; message
: string
; status
: "error"
} | { status
: "cancelled"
}
Ƭ PanelsLocation: "sidebar"
| "toolbar"
Viewer panels location
Ƭ ParameterPanelsLocation: PanelLocation
Parameters view/panel location
Ƭ ReportLoadEventArgs: Object
'reportLoaded' event arg
Name | Type | Description |
---|---|---|
report |
PageReport |
The loaded report |
Ƭ SearchOptions: Object
Defines the argument type for the ReportViewer.search method.
Name | Type | Description |
---|---|---|
matchCase? |
boolean |
Case-sensitive search. |
searchBackward? |
boolean |
Search backward from the current position. |
startPage? |
number |
The page to start the search from. |
text |
string |
Text to search for. |
wholeWord? |
boolean |
Match whole word. |
Ƭ ShowParametersOnOpen: "always"
| "auto"
Parameters view/panel open behaviour
Ƭ ToolbarItem: Object
Defines the toolbar item settings and behavior.
Name | Type |
---|---|
checked? |
boolean |
enabled? |
boolean |
icon? |
Icon |
iconCssClass? |
string |
key |
string |
text? |
string |
title? |
string |
action? |
(curr? : ToolbarItem ) => void | Partial <ToolbarItem > |
onUpdate? |
(args : ChangedEventArgs , curr : ToolbarItem ) => void | Partial <ToolbarItem > |
Ƭ ToolbarLayout: Object
Describes the toolbar items layout (order and visibility) for different view models.
Name | Type | Description |
---|---|---|
default? |
string [] |
Default (desktop) view mode. Also applied when other modes are not specified. |
fullscreen? |
string [] |
The layout for the full-screen mode. |
mobile? |
string [] |
The toolbar layout for mobile devices. |
Ƭ ViewerMouseMode: "Pan"
| "Selection"
Viewer mouse mode
Ƭ ViewerRenderMode: "Galley"
| "Paginated"
Viewer render mode
Ƭ ViewerViewMode: "Continuous"
| "SinglePage"
Viewer view mode
Ƭ ViewerZoomMode: "FitToWidth"
| "FitPage"
| number
Viewer zoom mode