THotPDF.AddDocumentAttachmentToCollectionFolder Method
Adds a document attachment to a collection folder in the document creation workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing or page rendering steps
Declaration
procedure AddDocumentAttachmentToCollectionFolder(FolderID: Integer; FileName: TFileName; Description: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FolderID | Raw byte payload embedded or validated by this API |
FileName | File path used as the source or destination for this operation |
Description | Human-readable text stored in the PDF object, action, annotation or structure element |
Return value
This member does not return a value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised