←Select platform

EndEditDesignerBeforeDraw Property

Summary
Gets or sets a value that indicates whether to end the current edit designer when the user starts drawing a new object.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public bool EndEditDesignerBeforeDraw { get; set; } 
@property (nonatomic, assign) BOOL endEditDesignerBeforeDraw; 
public boolean getEndEditDesignerBeforeDraw() 
public void setEndEditDesignerBeforeDraw(boolean value) 
public:  
   property bool EndEditDesignerBeforeDraw 
   { 
      bool get() 
      void set(bool value) 
   } 
EndEditDesignerBeforeDraw # get and set (AnnAutomationManager) 

Property Value

true to end the current edit designer when the user starts drawing a new object; otherwise, false. The default value is true.

Remarks

The following illustrates how EditObjectAfterDraw and EndEditDesignerBeforeDraw work together:

  1. The user clicks on the annotations toolbar and clicks and drags on the container to draw a new object.

  2. 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.

  3. 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 will still be selected and the new object will be drawn only if the user starts drawing outside the boundary of existing object . If the user clicks on selected object then you can edit it move it or move its thumbs and you can draw the new object when clicking outside selected object.

Requirements

Target Platforms

Help Version 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.