[]
        
(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:915


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:930


PanelsLayout

Optional PanelsLayout: PanelsLocation

Layout of panels bar.

Defined in

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


PanelsLocation

Optional PanelsLocation: PanelsLocation

Location of panels.

Defined in

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


ParameterPanelLocation

Optional ParameterPanelLocation: PanelLocation

Parameters panel location.

Defined in

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


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:950


language

Optional language: string

Viewer language.

Defined in

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