THotPDF.AddDocumentAttachmentToCollectionFolder Method
Adds document attachment to collection folder data to 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 catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized