SaveAnnotAttachmentToFile
Interaction avec la visionneuse, annotations et liens réactifs
Description
Écrit le fichier incorporé porté par une annotation FileAttachment dans FileName, en sélectionnant d'abord APageAnnotIndex est l'index d'annotation à base 1 sur la page, et l'appel délègue à
Syntaxe
Delphi
Function TPDFlibViewer.SaveAnnotAttachmentToFile(APage, AnnotIndex: Integer; Const FileName: WideString): Integer;Paramètres
| APage | Page à base 1 contenant l'annotation |
|---|---|
| AnnotIndex | Index d'annotation à base 1 sur APage |
| FileName | Chemin cible du fichier incorporé |
Valeurs de retour
| 0 | Aucun document n'est ouvert, la page est hors plage ou l'annotation ne porte aucun fichier |
|---|---|
| 1 | Le fichier incorporé a été écrit |