←Select platform

DocumentViewerCreateOptions Class

Summary

Options to use when creating new DocumentViewer objects.

Syntax

C#
VB
C++
public class DocumentViewerCreateOptions 
Public Class DocumentViewerCreateOptions 
public: 
   ref class 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.
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.WinForms Assembly