viewCreateOptions Property


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

Object.defineProperty(DocumentViewerCreateOptions.prototype, 'viewCreateOptions', 
	get: function() 
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. The UseElements property will be ignored and always set to true.


This is set to a new instance of ImageViewerCreateOptions object that will be used to create the ImageViewer used with View. You can set values in this option to override the default behavior if needed.

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; 


Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly