Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

ImageViewerCreateOptions Object

Show in webframe
Members 
Options for creating an ImageViewer
Object Model
Syntax
function Leadtools.Controls.ImageViewerCreateOptions() 
Remarks

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 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 canvas.

ElementsModeOptions

Elements mode-specific settings to use when creating an ImageViewer.

Example

For an example, refer to ImageViewer.

See Also

Reference

ImageViewerCreateOptions Members
Leadtools.Controls Namespace

Error processing SSI file