Options for creating an ImageViewer
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. |
For an example, refer to ImageViewer.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET