Accusoft PDF Xpress Control v5.0
DeleteAnnotation Method
See Also  Send comments on this topic.
WhichPage
The zero-based page number of the Document to retrieve the annotation from.
WhichAnnotation
The zero-based annotation index of the page to retrieve the annotation from.
PdfDocument Object : DeleteAnnotation Method

Glossary Item Box

Description

Removes the annotation at the specified annotation index from the specified page.

Syntax

Visual Basic
Public Sub DeleteAnnotation( _
   ByVal WhichPage As Long, _
   ByVal WhichAnnotation As Long _
) 

Parameters

WhichPage
The zero-based page number of the Document to retrieve the annotation from.
WhichAnnotation
The zero-based annotation index of the page to retrieve the annotation from.

Remarks

When the annotation is removed, the underlying array structure holding the annotations is reduced in size immediately. So if removing all annotations on a page for example you must write a loop that decrements starting with the last index.

See Also

©2012. Accusoft Corporation. All Rights Reserved.