PeachDrawing.PDF.PdfTagRecorder

PdfTagRecorder.AttachMathMlSource(object, string) Method

Attaches MathML markup to a formula’s structure element as a PDF 2.0 associated file (ISO 32000-2 §14.13, /AFRelationship /Supplement), so assistive technology can read the formula, and indexes it in the document-level /AF array. Does nothing if the key never opened a content element, or if its source was attached already (a formula that spans a page break is drawn more than once).

public void AttachMathMlSource(object key, string mathMlSource);

Parameters

key System.Object

the key of the formula’s content element

mathMlSource System.String

the MathML markup