- annObject
- An existing AnnObject to edit.
- group
- true to group this annObject with the object(s) currently being edited if(any); false otherwise.
Visual Basic (Declaration) | |
---|---|
Public Overridable Sub StartEditing( _ ByVal annObject As AnnObject, _ ByVal group As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- annObject
- An existing AnnObject to edit.
- group
- true to group this annObject with the object(s) currently being edited if(any); false otherwise.
This example will add a new rectangle object to the active automation of an automation manager. It will then "select" this object and make it ready for editing.
Visual Basic | Copy Code |
---|---|
Public Sub AnnAutomation_StartEditing(ByVal manager As AnnAutomationManager) |
C# | Copy Code |
---|---|
public void AnnAutomation_StartEditing(AnnAutomationManager manager) |
This method is called by the AnnAutomation object in design user mode whenever an object is "selected" (by clicking it with the mouse usually). You can manually start the editing process of an object by calling this method.
If you have object(s) that are currently being edited in this AnnAutomation and you want to either create a new group or add an annObject to the group currently being edited, then pass true for group; otherwise pass false. Passing true when no objects are currently being edited will not create a new group and edits this object individually as normal. Passing false when objects are currently being edited will cause the current editing operation to be canceled and start a new one for annObject.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family