LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Delete Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomation Class : Delete Method



The Delete Method supports WPF/Silverlight.

The Delete Method is available in LEADTOOLS Document and Medical Imaging toolkits.

Deletes editing objects from this AnnAutomation. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Delete() 
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
 
instance.Delete()
C# 
public virtual void Delete()
C++/CLI 
public:
virtual void Delete(); 

Example

For C#/VB examples, refer to CanDelete.

Remarks

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.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Delete requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.