DeleteAnnotation
Version history
This function was introduced in Quick PDF Library version 7.16.
Description
Removes an annotation from the selected page.
Syntax
Delphi
function TQuickPDF0813.DeleteAnnotation(Index: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::DeleteAnnotation(Index As Long) As Long
DLL
int QuickPDFDeleteAnnotation(int InstanceID, int Index)
Parameters
| Index | The index of the annotation to delete. The first annotation on the page has an index of 1. The AnnotationCount function returns the total number of annotations on the selected page. |
Return values
| 0 | The specified annotation could not be deleted. Check the value of the Index parameter is between 1 and the value returned by the AnnotationCount function. |
| 1 | The specified annotation was deleted from the page successfully. |