THotPDF.ExportLoadedTaggedPDFToHTML Method
Provides export of a loaded tagged PDF as an HTML string 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 ExportLoadedTaggedPDFToHTML(out HTML: AnsiString): boolean; overload;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
HTML | Input supplied to ExportLoadedTaggedPDFToHTML |
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