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, const wchar_t * NewContents);
Parameters
| Index | The index of the annotation. The first annotation on the page has an index of 1. |
|---|---|
| NewContents | The new contents of the annotation |