SetAnnotStrProperty

Annotations et liens de zone réactive

Description

Définit une propriété de chaîne de l’annotation indiquée

Syntaxe

Delphi

Function TPDFlib.SetAnnotStrProperty(Index, Tag: Integer; Const NewValue: WideString): Integer;

ActiveX

Function PDFlib::SetAnnotStrProperty(Index As Long, Tag As Long, NewValue As String) As Long

DLL

int DLSetAnnotStrProperty(int InstanceID, int Index, int Tag, const wchar_t * NewValue);

Paramètres

IndexL'index de l'annotation La première annotation de la page porte l'index 1
Tag102 = Contents 103 = Name 104 = Date de modification 110 = Subject 111 = URL d’une annotation de lien 113 = Nom de fichier "Win" d’une action "Launch" 114 = Nom "F" de "Launch" 115 = Nom "F" de "GoToR" 127 = Subject 129 = Nom "UF" de "Launch" 130 = Nom "UF" de "GoToR"
NewValueNouvelle valeur de l’annotation et de la propriété indiquées

Valeurs de retour

0L'annotation spécifiée par le paramètre Index se trouvait hors limites ou le paramètre Tag n'était pas valide
1La propriété de l’annotation a été définie