Error processing SSI file
(Leadtools.Annotations.Automation)

Show in webframe

EditObjectAfterDraw Property






Gets or sets a value that indicates whether newly drawn objects are selected (edited).
Syntax
public bool EditObjectAfterDraw {get; set;}
'Declaration
 
Public Property EditObjectAfterDraw As Boolean
public bool EditObjectAfterDraw {get; set;}
@property (nonatomic) BOOL editObjectAfterDraw;
public boolean getEditObjectAfterDraw()
public void setEditObjectAfterDraw(boolean editObjectAfterDraw)
            
 <br/>get_EditObjectAfterDraw();<br/>set_EditObjectAfterDraw(value);<br/>Object.defineProperty('EditObjectAfterDraw'); 

Property Value

true to edit (select) new objects; otherwise, it is false. The default value is true.
Remarks

When the value of this property is true (the default value) new objects drawn on the current active AnnAutomation will be automatically selected (edited).

The following illustrates how EditObjectAfterDraw and EndEditDesignerBeforeDraw work together:

  1. The user clicks the annotations toolbar and clicks and drags 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 its edit designers start. This usually shows the selection and optional rotations thumbs. The user can now click and drag 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 the object again 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 become 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 become 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.

Requirements

Target Platforms

See Also

Reference

AnnAutomationManager Class
AnnAutomationManager Members

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