Error processing SSI file
(Leadtools.Annotations.Designers)

Show in webframe

ClipRectangle Property







Gets the cursor clipping rectangle for this designer.
Syntax
protected virtual LeadRectD ClipRectangle {get;}
'Declaration
 
Protected Overridable ReadOnly Property ClipRectangle As LeadRectD
'Usage
 
Dim instance As AnnDesigner
Dim value As LeadRectD
 
value = instance.ClipRectangle
protected virtual LeadRectD ClipRectangle {get;}
public LeadRectD getClipRectangle()
 get_ClipRectangle(); 

Property Value

The cursor clipping rectangle for this designer. The default value of ClipRectangle is set to the location and boundary of the Container.
Remarks

This property is only used when the value of RestrictDesigners is true. The framework supports restricting the 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 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.

Requirements

Target Platforms

See Also

Reference

AnnDesigner Class
AnnDesigner Members

Error processing SSI file
Leadtools.Annotations.Designers requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features