DeleteSelectedAnnotations Method

Deletes selected annotations.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.DeleteSelectedAnnotations

Arguments

None

Return Value

None

Remarks

To be deleted, annotations must first be selected using the Select Annotations tool, or the SelectAnnotationGroup method.  If no annotations are selected, the DeleteSelectedAnnotations method generates an error.

After invoking the DeleteSelectedAnnotations method, the Save, SaveAs, or SavePage method must be invoked to save the altered image.

Note that annotations can also be deleted by invoking the DeleteAnnotationGroup method.

Invoking the DeleteSelectedAnnotations method sets the ImageModified property to True.