Is this page helpful?
Creates a new instance of DocumentViewer from the specified options.
public static DocumentViewer CreateDocumentViewer(
DocumentViewerCreateOptions createOptions
)
Public Shared Function CreateDocumentViewer(
ByVal createOptions As DocumentViewerCreateOptions
) As DocumentViewer
public:
static DocumentViewer^ CreateDocumentViewer(
DocumentViewerCreateOptions^ createOptions
)
createOptions
Options to use when creating DocumentViewer. This parameter cannot be null.
The new DocumentViewer object.
This method works as follows:
The Commands object is created.
If ViewContainer is not null, then View is created and added to it.
If ThumbnailsContainer is not null, then the Thumbnails object is created and added to it.
Bookmarks is created.
If UseAnnotations is true, then Annotations is created.
Diagnostics is created.
Finally, the InteractiveSelectText command is run to set this mode as the default interactive mode for the view. Run any other interactive mode commands after this method returns to set the initial mode to a different value. For example, calling documentViewerInstance.Commands.Run(DocumentViewerCommands.InteractiveAutoPan), null)
will set auto-pan to be the default interactive mode.
After the DocumentViewer is created and initialized, it can be used by loading a LEADDocument object and calling the SetDocument method to view the document.
For an example, refer to DocumentViewer.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document