| Leadtools.Controls Namespace : ImageViewerCreateOptions Object |

function Leadtools.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 |
| ParentDivClass |
CSS class name to apply to the parent |
| ViewLayout |
Default view layout. If this value null, then the viewer will create an instance of ImageViewerSingleViewLayout, adds an empty item to itand 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 |
| ElementsModeOptions |
Elements mode-specific settings to use when creating an ImageViewer. |
For an example, refer to ImageViewer.