SaveAnnotAttachmentToFile

Viewerinteractie, annotaties en hotspotkoppelingen

Beschrijving

Schrijft het ingesloten bestand dat een FileAttachment-annotatie meedraagt weg naar FileName, nadat eerst APage is geselecteerdAnnotIndex is de annotatie-index op de pagina beginnend bij 1, en de aanroep delegeert naar

GetAnnotEmbeddedFileToFile

Syntaxis

Delphi

Function TPDFlibViewer.SaveAnnotAttachmentToFile(APage, AnnotIndex: Integer; Const FileName: WideString): Integer;

Parameters

APagePagina beginnend bij 1 die de annotatie bevat
AnnotIndexAnnotatie-index op APage beginnend bij 1
FileNameDoelpad voor het ingesloten bestand

Retourwaarden

0Er is geen document geopend, de pagina valt buiten bereik, of de annotatie draagt geen bestand
1Het ingesloten bestand is weggeschreven

Zie ook

GetAnnotEmbeddedFileToFile, OnAnnotClick, TPDFlibViewer