LEADTOOLS JavaScript (Leadtools.Controls)

ImageViewerCreateOptions Object

Show in webframe
Members 
Options for creating an ImageViewer
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
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. 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. 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. Use this property to customize the canvas element.

Example

For an example, refer to ImageViewer.

See Also

Reference

ImageViewerCreateOptions Members
Leadtools.Controls Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.