deleteSelectedObjects Method

Summary

Deletes the selected objects from this AnnAutomation.

Syntax

JavaScript Syntax
AnnAutomation.prototype.deleteSelectedObjects = function() 
TypeScript Syntax
deleteSelectedObjects(): void; 

Remarks

An AnnAutomation object can delete one or more AnnObjects if they are currently in edit mode (selected) and these objects are not locked.

Use the CanDeleteObjects 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 Annotation Automation Operations.

Example

For an example, refer to SelectObjects.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly