[]
Represents an options can be set during initialization.
public class InitializationOptions
The InitializationOptions
class provides various properties to configure the initial settings for the viewer, including report ID, parameters, zoom settings, and localization.
Name | Description |
---|---|
InitializationOptions() |
Name | Description |
---|---|
Action | Gets or sets the callback invoked before the Viewer opens a hyperlink, bookmark link, drill down report, or toggles report control visibility. |
AutoBackgroundColor | Gets or sets a value indicating whether the view area background color is filled with the report body color. |
AvailableExports | Gets or sets custom default settings for exports, formatted by export type and setting name. |
DefaultExportSettings | Gets or sets custom default settings for exports, formatted by export type and setting name. |
DisplayMode | Gets or sets the initial display mode of the Viewer. |
DocumentLoaded | Gets or sets the callback invoked when a document is fully loaded on the server. |
Error | Gets or sets the callback invoked when an error occurs during the process of displaying the report. |
HideErrors | Gets or sets whether to show errors in the Viewer. |
InitialZoomMode | Gets or sets the initial zoom mode settings, providing control over how content is scaled on initial display. |
Locale | Gets or sets the locale used for displaying UI elements in the Viewer. |
LocaleData | Gets or sets the JSON string containing localization strings for the Viewer. |
LocaleUri | Gets or sets the URL of the file containing localization strings. |
OnAction | Gets or sets the callback that is triggered before the Viewer executes an action. |
PanelsLocation | Gets or sets the position of various panels (search, parameters, etc.) within the Viewer. Default is 'toolbar'. |
ParametersPanel | Gets or sets the settings for the parameters panel, allowing customization of its behavior and appearance. |
RenderFormat | Gets or sets the report render mode. |
RenderMode | Gets or sets the initial rendering mode of the Viewer. |
ReportID | Gets or sets the identifier of the report to be displayed by the Viewer. |
ReportItemsStyles | Gets or sets the custom CSS styles that will be applied to the report items. |
ReportLoaded | Gets or sets the callback invoked when the Viewer has fully loaded the report's information. |
ReportParameters | Gets or sets the array of name-value pairs that describe the parameter values used to run the report. |
ReportService | Gets or sets the settings for connecting to the Web API used by the Viewer. |
Themes | Gets or sets the UI theme for the Viewer. |