ClearPageAssociatedFiles
Embedded files
Description
Removes all associated-file bindings from one page
Syntax
Delphi
Function ClearPageAssociatedFiles(PageNumber: Integer): Integer;Return values
| 0 | The page is invalid or carried no /AF array |
|---|---|
| 1 | The page /AF array was removed |
Remarks
Only the page binding is removed; the embedded payload stays in the EmbeddedFiles name tree and remains reachable through document-level attachments.
Example
PDF.ClearPageAssociatedFiles(1);