[]
        
(Showing Draft Content)

ReportViewer.ViewerOptions

Interface: ViewerOptions

ReportViewer.ViewerOptions

Viewer control settings.

Table of contents

Properties

Properties

ErrorHandler

Optional ErrorHandler: ErrorHandler

Custom error handler:

var options = {
	ErrorHandler: error => {
		console.error(error.message);
		return true;
		}
};

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:907


ExportsSettings

Optional ExportsSettings: Record<string, ExportSettings>

Initial settings for export panel:

var options = {
	ExportsSettings: {
		pdf: { ... },
		xlsx: { ... },
		html: { ... }
	}
};

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:922


PanelsLayout

Optional PanelsLayout: PanelsLocation

Layout of panels bar.

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:929


PanelsLocation

Optional PanelsLocation: PanelsLocation

Location of panels.

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:927


ParameterPanelLocation

Optional ParameterPanelLocation: PanelLocation

Parameters panel location.

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:944


ToolbarLayout

Optional ToolbarLayout: ToolbarLayout

Initial toolbar layout:

var options = {
 ToolbarLayout: {
		default: ['$navigation', '$refresh', '$zoom', '$fullscreen'],
		fullscreen: ['$refresh', '$print', '$fullscreen'],
		mobile: ['$refresh', '$navigation', '$split', '$fullscreen']}
 }
};

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:942


language

Optional language: string

Viewer language.

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:893