Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomationManager Class : EndEditDesignerBeforeDraw Property |
public bool EndEditDesignerBeforeDraw {get; set;}
'Declaration
Public Property EndEditDesignerBeforeDraw As Boolean
public bool EndEditDesignerBeforeDraw {get; set;}
@property (nonatomic) BOOL endEditDesignerBeforeDraw;
public boolean getEndEditDesignerBeforeDraw() public void setEndEditDesignerBeforeDraw(boolean value)
<br/>get_EndEditDesignerBeforeDraw();<br/>set_EndEditDesignerBeforeDraw(value);<br/>Object.defineProperty('EndEditDesignerBeforeDraw');
The following illustrates how EditObjectAfterDraw and EndEditDesignerBeforeDraw work together:
The user clicks on the annotations toolbar and clicks and drags on the container to draw a new object.
When drawing finishes and if the value of EditObjectAfterDraw is true (the default), then this new object becomes selected and their edit designers start. This usually shows the selection and optional rotations thumbs. The user can now click and drag on the object or the thumbs to move, resize or rotate it. If the value of EditObjectAfterDraw is false, then this new object does not become selected automatically. The user has to click again on the object to select it and start editing it.
The user then clicks to start drawing a new object. If the value of EndEditDesignerBeforeDraw is true (the default), then any previously selected objects becomes de-selected regardless of where the user clicks on the container - on any existing object or outside. A new object will always be drawn. If the value of EndEditDesignerBeforeDraw is false, then any selected objects becomes de-selected and the new object will be drawn only if the user starts drawing the object by clicking on the container outside the boundary of any other objects. If the user clicks on a previous object, then it will become selected (if not already) and the operation becomes an edit one, causing the object or its thumbs to move.