This function was introduced in Quick PDF Library version 7.16.
Removes an annotation from the selected page.
function TDebenuPDFLibrary1511.DeleteAnnotation(Index: Integer): Integer;
Function DebenuPDFLibrary1511.PDFLibrary::DeleteAnnotation(Index As Long) As Long
int DPLDeleteAnnotation(int InstanceID, int Index)
|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.|
|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.|