shape Property

Summary

Shape to use with this rubber band mode.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewerZoomToInteractiveMode.prototype, 'shape', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
shape: ImageViewerRubberBandShape; 

Property Value

The shape to use with this rubber band mode. Default value is ImageViewerRubberBandShape.Rectangle.

Remarks

This mode does not support ImageViewerRubberBandShape.Freehand, trying to set this shape will throw an exception.

You cannot change the shape if the mode is already working. Doing so will throw an exception.

Example

For an example, refer to ImageViewerRubberBandInteractiveMode.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly