DocumentViewerCreateOptions Object

Summary

Options to use when creating new DocumentViewer objects.

Syntax
TypeScript
JavaScript
function lt.Document.Viewer.DocumentViewerCreateOptions 
class lt.Document.Viewer.DocumentViewerCreateOptions() 

Remarks

Used by the CreateDocumentViewer method to create new DocumentViewer instances.

This class contains the following members:

Member Description
ViewContainer Optional and can be null; otherwise, must be set to an existing control in your application. View will create ImageViewer and add it as a child to this container.
ThumbnailsContainer Optional and can be null; otherwise, must be set to an existing control in your application. Thumbnails will create ImageViewer and add it as a child to this container.
BookmarksContainer Optional and can be null; otherwise, must be set to an existing control in your application. Bookmarks will create TreeView and add it as a child to this container.
UseAnnotations Optional. When set to true, annotations 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 that will be used to create the ImageViewer class used with view. Set values in this option to override the default behavior if needed. For example, you can set it to turn useElements off (from the default value of true).
ThumbnailsCreateOptions This is set to a new instance of ImageViewerCreateOptions that will be used to create the ImageViewer class used with thumbnails. Set values in this option to override the default behavior if needed. For example, set it to turn useElements off (from the default value of true).

Example

For an example, refer to DocumentViewer.

Requirements

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