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

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