function Leadtools.Controls.ImageViewerCreateOptions()
!MISSING Scrap '_RTJavaScript_Class_SYNTAX'!
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 |
---|---|
ParentDivElementId |
The ID of an existing DIV element in the HTML page that will act as the parent (container) of the viewer. This property is required and must contain the ID of a valid DIV element in your HTML page. |
ControlId |
Unique string to be used to generate the IDs of the various elements of the viewer. This property is required and must be set to a unique string ID. For more information, refer to ImageViewer. |
DivClassName |
The CSS class name to use for the main DIV element of the viewer. Optional. You can use this property to customize the main DIV element of the viewer. |
AutoScrollDivClassName |
The CSS class name to use for the auto scroll DIV element of the viewer. Optional. You can use this property to customize the auto scroll DIV element of the viewer of the viewer. |
CanvasClassName |
The CSS class name to use for the canvas element of the viewer. Optional. You can use this property to customize the canvas element. |
For an example, refer to ImageViewer.