THotPDF.AttachMathMLToFormulaElement Method

Provides the AttachMathMLToFormulaElement behavior for 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 used by 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 used by AttachMathMLToFormulaElement

Return value

Returns a THPDFDictionaryObject value

Usage notes

Related APIs