THotPDF.CopyLoadedOutlinesFromDocument Method
Provides CopyLoadedOutlinesFromDocument behaviour for the document import and output workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
function CopyLoadedOutlinesFromDocument(SourceDoc: THotPDF; PageOffset: Integer): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
SourceDoc | Input supplied to CopyLoadedOutlinesFromDocument |
PageOffset | Input supplied to CopyLoadedOutlinesFromDocument |
Return value
Returns an Integer value
Usage notes
- Use this API in the document import and output workflow before the affected page, resource, field, or catalogue object is finalised
- Keep object, field and resource names, and returned handles, stable whilst the document is being finalised
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values