THotPDF.AddLoadedFileAttachmentAnnotation

THotPDF

 

Top  Previous  Next

Adds a loaded file attachment annotation that contains a specified icon and layout

 

Delphi syntax:

function AddLoadedFileAttachmentAnnotation( PageIndex: Integer; X1, Y1, X2, Y2: Single; const AFileName, AMIMEType: AnsiString; const AFileBytes: TBytes; AIcon: THPDFFileAttachmentIcon= faiPushPin ): Integer;

 

Description

Adds a loaded file attachment annotation that contains a specified icon and layout

Supports custom attachment icons such as push pins, paperclips, or tags

Mime type and file byte array must be provided

 

See also: THotPDF