Leadtools.Documents.UI Namespace > DocumentViewerCreateOptions Object : ViewCreateOptions Property |
get_viewCreateOptions();
Object.defineProperty('viewCreateOptions');
Type | Description |
---|---|
ImageViewerCreateOptions | Options to use when creating the image viewer for the view. Default value is a new instance of ImageViewerCreateOptions with UseElements set to true. |
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;
.