Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Designers Assembly > Leadtools.Annotations.Designers Namespace > AnnDesigner Class : RestrictDesigners Property |
public virtual bool RestrictDesigners {get; set;}
'Declaration
Public Overridable Property RestrictDesigners As Boolean
'Usage
Dim instance As AnnDesigner Dim value As Boolean instance.RestrictDesigners = value value = instance.RestrictDesigners
public virtual bool RestrictDesigners {get; set;}
@property (nonatomic) BOOL restrictDesigners;
public boolean getRestrictDesigners() public void setRestrictDesigners(boolean value)
<br/>get_RestrictDesigners();<br/>set_RestrictDesigners(value);<br/>Object.defineProperty('RestrictDesigners');
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.