[]
Ƭ BuiltInUITheme: "System" | "Default" | "DefaultDark" | "DarkOled" | "HighContrast" | "HighContrastDark" | "ActiveReports" | "ActiveReportsDark"
UI theme
Ƭ 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
Ƭ ParameterPanelLocation: "auto" | "default" | "top" | "bottom"
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
Ƭ 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. |
Ƭ UITheme: BuiltInUITheme | ColorTheme
Ƭ UIThemeConfig: Object
| Name | Type | Description |
|---|---|---|
initialTheme? |
string |
The initial theme to be applied. default "Default" |
themeSelector? |
{ availableThemes?: UITheme[] ; isEnabled?: boolean } |
Controls Theme Picker behavior |
themeSelector.availableThemes? |
UITheme[] |
An array of available themes that can be picked by the user. These themes are built-in themes. default ["System", "Default", "DefaultDark", "DarkOled", "HighContrast", "HighContrastDark", "ActiveReports", "ActiveReportsDark"] |
themeSelector.isEnabled? |
boolean |
shows Theme Picker in UI |
Ƭ 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