In This Topic ▼

Viewer Class Members

Summary

The following tables list the members exposed by Viewer.

Public Constructors

Name Description
Public Constructor static  | Shared in VB Viewer Initializes a new instance of the Viewer.

Public Methods

Name Description
Public Method clear Clears the LEADDocument that is currently in view.
Public Method dispose Disposes of all internal resources used by LEADVIEW.
Public Method getAnnAutomation Retrieves the current AnnAutomation used by the Viewer.
Public Method static  | Shared in VB getColorKeys Retrieves a list of color keys that are available in the current LEADIVEW version.
Public Method getCurrentDocument Retrieves the current LEADDocument that is loaded into the Viewer.
Public Method getDocumentViewer Retrieves the current DocumentViewer that is being used by LEADVIEW.
Public Method getIds Retrieves an array containing all the document IDs that are currently loaded into the Viewer.
Public Method loadFromLocal Loads a local file into the Viewer.
Public Method loadFromUri Loads a file from a URI into the Viewer.
Public Method removeDocument Removes a sub-document from LEADVIEW.
Public Method run Initializes and builds the Viewer.
Public Method setCurrentDocument Sets the active LEADDocument for the Viewer.

Public Properties

Name Description
Public Property onActiveViewerChanged Callback function that is invoked whenever the active DocumentViewer has changed internally.

See Also

Reference

Viewer Class

Leadtools.LEADVIEW Namespace

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

Leadtools.LEADVIEW Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.