Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

Control Property

Show in webframe
Target pan control.
Syntax
get_control();
set_control(value);
Object.defineProperty('control');

Property Value

TypeDescription
ElementThe target pan control. Default value is null.
Remarks

Set this property to any control (must be an HTML5 Canvas Element in JavaScript) to act as the target of the pan control.

Once Control and ImageViewer are set, ImageViewerPanControl will render the content of the viewer into the target control along with a rectangle that shows the current visible area. If the value of EnablePan is set to true then clicking and dragging on the control surface will move the pan rectangle in the external control and pan the view in the image viewer accordingly.

Example

For an example, refer to ImageViewerPanControl.

See Also

Reference

ImageViewerPanControl Object
ImageViewerPanControl Members

Error processing SSI file