THotPDF.ExportLoadedTaggedPDFToHTMLFile Method
Provides export of a loaded tagged PDF to an HTML file in the Tagged PDF accessibility workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance or diagnostics
Declaration
function ExportLoadedTaggedPDFToHTMLFile(const FileName: string): boolean; overload;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FileName | File path used as the source or destination for this operation |
Return value
Returns a boolean value
Usage notes
- Use this API in the Tagged PDF accessibility 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
- Keep begin and end calls balanced, provide alternate text for non-text content, and attach MCID values to the right page content
- Loaded-document object references may be indirect; resolve arrays, dictionaries or streams before inspecting nested values