function lt.Controls.ImageViewerCreateOptions
class lt.Controls.ImageViewerCreateOptions()
ImageViewerCreateOptions is used as a parameter to the ImageViewer() constructor and is used to specify the required and optional parameters used to create and customize the viewer.
ImageViewerCreateOptions contains the following:
Property | Description |
---|---|
ParentDiv |
An existing div in the HTML page that will act as the parent (container) of the viewer. This property is required and must contain a
valid div element in your HTML page.
|
ParentDivClass |
CSS class name to apply to the parent div of this image viewer.
|
ViewLayout |
Default view layout. If this value null, then the viewer will create an instance of ImageViewerSingleViewLayout, adds an empty item to it and sets it in the ViewLayout property. |
UseElements |
Use real HTML5 elements to render the viewer and its items, or render the images directly into the canvas .
|
ElementsModeOptions |
Elements mode-specific settings to use when creating an ImageViewer. |
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