Leadtools.Controls Namespace > ImageViewerPanControl Object : Canvas Property |
get_canvas();
set_canvas(value);
Object.defineProperty('canvas');
Type | Description |
---|---|
CanvasElement | The target canvas element for the pan control. Default value is true. |
Set this property to a canvas
in your page and the viewer will draw its content as well as the pan rectangle into its surface.
For an example, refer to ImageViewerPanControl.