THotPDF.AddAccessibleMathMLFormula Method
Adds accessible math mlformula data to the document creation workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing or page rendering steps
Declaration
function AddAccessibleMathMLFormula(Parent: THPDFDictionaryObject; PageIndex, MCID: Integer; const AltText, ActualText, MathMLFileName, MathMLDescription: AnsiString; const MathMLBytes: TBytes): THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Parent | Input supplied to AddAccessibleMathMLFormula |
PageIndex | Zero-based index or object index used to select an existing item |
MCID | Input supplied to AddAccessibleMathMLFormula |
AltText | Input supplied to AddAccessibleMathMLFormula |
ActualText | Input supplied to AddAccessibleMathMLFormula |
MathMLFileName | File path used as the source or destination for this operation |
MathMLDescription | Human-readable text stored in the PDF object, action, annotation or structure element |
MathMLBytes | Raw byte payload embedded or validated by this API |
Return value
Returns a THPDFDictionaryObject value
Usage notes
- Use this API in the document creation 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