Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Designers)

RestrictDesigners Property

Show in webframe
Gets or sets value that indicate whether the object should be restricted inside the container boundary.
Syntax
get_restrictDesigners();
set_restrictDesigners(value);
Object.defineProperty('restrictDesigners');

Property Value

TypeDescription
booleantrue if the object should be restricted inside the container boundary; otherwise, false. The default value is false.
Remarks

The framework supports restricting an object inside its container when it is being drawn or edited. When the mouse cursor or touch pointer is used to draw or edit an object, the designer will call ClipPoint to restrict the position of the cursor or touch pointer to a point inside the rectangle set in ClipRectangle.

By default, the value of ClipRectangle is set to the location and boundary of the Container. In such cases the designer restricts the user from drawing or moving (editing) an object or any of its points outside the container.

Override this behavior by implementing a custom clipping area in ClipRectangle or overriding the ClipPoint method.

Neither the ClipRectangle nor the ClipPoint are used when the value of RestrictDesigners is false.

See Also

Reference

AnnDesigner Object
AnnDesigner Members

Error processing SSI file