viewCreateOptions Property

Summary

Options to use when creating the image viewer for the view.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentViewerCreateOptions.prototype, 'viewCreateOptions', 
	get: function() 
) 
TypeScript Syntax
viewCreateOptions: ImageViewerCreateOptions; // read-only 

Property Value

Options to use when creating the image viewer for the view. Default value is a new instance of ImageViewerCreateOptions with UseElements set to true.

Remarks

This is set to a new instance of ImageViewerCreateOptions object that will be used to create the ImageViewer used with View. Use can set values in this option to override the default behavior if needed. For example, set turn on UseElements off (from the default value of true).

Note ViewCreateOptions and ThumbnailsCreateOptions are already initialized for you, do not set a new object in these properties. Modify the object directly if needed: documentViewerCreateOptions.viewCreateOptions.useElements = false; or var viewCreateOptions = documentViewerCreateOptions.viewCreateOptions; viewCreateOptions.useElements = false;.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly