THotPDF.EmitTaggedHeading Method
Provides emit tagged heading behaviour for 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 EmitTaggedHeading(Level: Integer; Parent: THPDFDictionaryObject; X, Y: Single; const Text: WideString): THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Level | Version, conformance, or nesting level used by the workflow |
Parent | Input used by EmitTaggedHeading |
X | Page coordinate or size value expressed in the current HotPDF coordinate space |
Y | Page coordinate or size value expressed in the current HotPDF coordinate space |
Text | Input used by EmitTaggedHeading |
Return value
Returns a THPDFDictionaryObject value
Usage notes
- Use this API in the Tagged PDF accessibility workflow before the affected page, resource, field, or catalog 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