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

NamePurpose
ParentInput used by AddAccessibleMathMLFormula
PageIndexZero-based index or object index used to select an existing item
MCIDInput used by AddAccessibleMathMLFormula
AltTextInput used by AddAccessibleMathMLFormula
ActualTextInput used by AddAccessibleMathMLFormula
MathMLFileNameFile path used as the source or destination for this operation
MathMLDescriptionHuman-readable text stored in the PDF object, action, annotation, or structure element
MathMLBytesRaw byte payload embedded or validated by this API

Return value

Returns a THPDFDictionaryObject value

Usage notes

Related APIs