DocumentViewerCreateOptions Object

Summary

Options to use when creating new DocumentViewer objects.

Syntax

JavaScript Syntax
function lt.Documents.UI.DocumentViewerCreateOptions 
TypeScript Syntax
class lt.Documents.UI.DocumentViewerCreateOptions() 

Remarks

Used by the CreateDocumentViewer method to create new DocumentViewer instances.

This class contains the following members:

Member Description
ViewContainer Must be set to an existing control in your application. This is not optional and cannot be null. View will create ImageViewer and adds it as a child to this container.
ThumbnailsContainer Optional and can be null, otherwise, must be set to an existing control in your application and Thumbnails will create ImageViewer and adds it as a child to this container.
BookmarksContainer Optional and can be null, otherwise, must be set to an existing control in your application and Bookmarks will create TreeView and adds it as a child to this container.
UseAnnotations Optional, when set to true, annotation support will be enabled in the document viewer and the annotations toolbar and objects list will be created when a document is set in the viewer. If false, annotations support is disabled in the document viewer.
ViewCreateOptions 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).
ThumbnailsCreateOptions This is set to a new instance of ImageViewerCreateOptions object that will be used to create the ImageViewer used with Thumbnails. 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).
Example

For an example, refer to DocumentViewer.

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