SetAnnotContentsA
Annotations and hotspot links
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetAnnotContents and string arguments are interpreted using the current SetAnsiMode code page
Changes the contents of an annotation.
Syntax
Delphi
Function DLSetAnnotContentsA(InstanceID, Index: Integer; NewContents: PAnsiChar): Integer;
DLL
int DLSetAnnotContentsA(int InstanceID, int Index, const char * 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 |