Visual Basic (Declaration) | |
---|---|
Public Overridable ReadOnly Property CurrentEditObject As AnnObject |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual AnnObject CurrentEditObject {get;} |
Return Value
The current AnnObject being edited; null (Nothing in Visual Basic) if no objects are currently being edited.This example changes the pen of the object that is currently being edited to a Red pen that has a width of 2 pixels.
Visual Basic | Copy Code |
---|---|
Public Sub AnnAutomation_ChangePenToBlue(ByVal automation As AnnAutomation) |
C# | Copy Code |
---|---|
public void AnnAutomation_ChangePenToBlue(AnnAutomation automation) |
(Read only) The current object being edited is the AnnObject currently "selected" where its AnnEditDesigner is currently active.
This is the object that will be processed when calling any of the object processing methods of this AnnAutomation. For example, calling Copy will copy the CurrentEditObject into the clipboard.
You can change the CurrentEditObject by calling StartEditing.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family