THotPDF.AttachMathMLToFormulaElement Method
为文档创建工作流提供「把 MathML 挂接到公式元素」的能力。当所在 API 家族需要对 PDF 对象、页面内容、资源、合规性或诊断的显式控制时,使用该成员
声明
function AttachMathMLToFormulaElement(FormulaElem: THPDFDictionaryObject; const MathMLXML: AnsiString; const FileName: AnsiString= 'formula.mml'; const Description: AnsiString= 'MathML 3.0 formula'; const AFRelationship: AnsiString= 'Supplement'): THPDFDictionaryObject;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
FormulaElem | AttachMathMLToFormulaElement 使用的输入 |
MathMLXML | 此 API 嵌入或校验的原始字节负载 |
FileName | 用作此操作源或目标的文件路径 |
Description | 存储在 PDF 对象、动作、注释或结构元素中的人类可读文本 |
AFRelationship | AttachMathMLToFormulaElement 使用的输入 |
返回值
返回 THPDFDictionaryObject 值
使用说明
- 在文档创建工作流中使用此 API,且要在受影响的页面、资源、字段或 catalog 对象定稿之前
- 在文档定稿之前,保持对象名、字段名、资源名和返回的句柄稳定不变