SetAnnotContents

Annotations et liens de zone réactive

Description

Modifie le contenu d’une annotation

Syntaxe

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);
int DLSetAnnotContentsA(int InstanceID, int Index, const char* NewContents);

Paramètres

IndexL'index de l'annotation La première annotation de la page porte l'index 1
NewContentsNouveau contenu de l’annotation

Valeurs de retour

Renvoie 1 si les contenus ont été modifiés. Renvoie 0 si Index ne désigne pas une annotation de la page actuelle.