[]
        
(Showing Draft Content)

Viewer.ViewerOptions

Interface: ViewerOptions

Viewer.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:98


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


PanelsLocation

Optional PanelsLocation: PanelsLocation

Location of panels.

Defined in

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


language

Optional language: string

Viewer language.

Defined in

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