THotPDF.AddFormulaWithMathML Method
向文件建立工作流加入帶 MathML 資料的公式。此呼叫會建立或附加後續輸出、驗證、簽章或頁面渲染步驟所需的 PDF 端物件
宣告
function AddFormulaWithMathML(Parent: THPDFDictionaryObject; PageIndex, MCID: Integer; const AltText, MathMLXML: AnsiString; const FileName: AnsiString= 'formula.mml'; const Description: AnsiString= ''): THPDFDictionaryObject;
單元
HPDFDoc
參數
| 名稱 | 用途 |
|---|---|
Parent | AddFormulaWithMathML 使用的輸入 |
PageIndex | 用於選取現有項目的零基 (zero-based) 索引或物件索引 |
MCID | AddFormulaWithMathML 使用的輸入 |
AltText | AddFormulaWithMathML 使用的輸入 |
MathMLXML | 由此 API 內嵌或驗證的原始位元組承載 |
FileName | 作為此作業來源或目的地的檔案路徑 |
Description | 儲存在 PDF 物件、動作、註解或結構元素中的人類可讀文字 |
傳回值
傳回 THPDFDictionaryObject 值
使用說明
- 在文件建立流程中,於受影響的頁面、資源、欄位或 catalog 物件定稿之前使用此 API
- 在文件定稿之前,保持物件名稱、欄位名稱、資源名稱與傳回的 handle 穩定