Leadtools.Windows.Annotations Namespace > AnnAutomation Class : Delete Method |
public virtual void Delete()
'Declaration Public Overridable Sub Delete()
'Usage Dim instance As AnnAutomation instance.Delete()
public virtual void Delete()
function Leadtools.Windows.Annotations.AnnAutomation.Delete()
public: virtual void Delete();
AnnAutomation can delete one or more AnnObject if they are currently in edit mode (selected) and these objects are not locked.
Use the CanDelete property to update the user interface of your application (for example, enabling or disabling an Edit/Delete menu item).
For information on undoing or redoing automation operations, refer to Undoing WPF Automation Operations.
For C#/VB examples, refer to CanDelete.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2