THotPDF.SetDocumentAttachmentMetadata Method

Updates the display name and optional description of an embedded document attachment prior to saving

Declaration

function SetDocumentAttachmentMetadata(Index: Integer; const NewFileName, Description: AnsiString): boolean;

Parameters

Return value

Returns True when the attachment entry exists and is updated