SetAnnotContents

Annotations and hotspot links

Description

Changes the contents of an annotation.

Syntax

Delphi

function TPDFlib.SetAnnotContents(Index: Integer; Const NewContents: WideString): Integer;

ActiveX

Function PDFlib::SetAnnotContents(Index As Long, NewContents As String) As Long

DLL

int DLSetAnnotContents(int InstanceID, int Index, wchar_t * NewContents);

Parameters

IndexThe index of the annotation. The first annotation on the page has an index of 1.
NewContentsThe new contents of the annotation