THotPDF.AttachMathMLToFormulaElement Method

Provides MathML attachment for a formula structure element in the document creation workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance or diagnostics

Declaration

function AttachMathMLToFormulaElement(FormulaElem: THPDFDictionaryObject; const MathMLXML: AnsiString; const FileName: AnsiString= 'formula.mml'; const Description: AnsiString= 'MathML 3.0 formula'; const AFRelationship: AnsiString= 'Supplement'): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
FormulaElemInput supplied to AttachMathMLToFormulaElement
MathMLXMLRaw byte payload embedded or validated by this API
FileNameFile path used as the source or destination for this operation
DescriptionHuman-readable text stored in the PDF object, action, annotation or structure element
AFRelationshipInput supplied to AttachMathMLToFormulaElement

Return value

Returns a THPDFDictionaryObject value

Usage notes

Related APIs