Debenu Quick PDF logo

DeleteAnnotation

Annotations and hotspot links

Version history

This function was introduced in Quick PDF Library version 7.16.

Description

Removes an annotation from the selected page.

Syntax

Delphi

function TDebenuPDFLibrary1511.DeleteAnnotation(Index: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DeleteAnnotation(Index As Long) As Long

DLL

int DPLDeleteAnnotation(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.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport