ImportAnnotationsFromXFDFString
註解與熱點連結
描述
從記憶體匯入 ISO 19444 XFDF <annots> 資料,並把對應的註解插入已選的 PDF 文件。目前的交換子集會讀取已知的註解元素名稱、零基的 page 屬性、必要的 rect 屬性、選用的 color、flags、name、date、creationdate、opacity、width、style、dashes、title 與 subject 屬性、純文字 <contents> 子元素、<ink> 註解的 <inklist><gesture> 筆畫清單,以及 <polygon> 與 <polyline> 註解的 <vertices> 座標清單
語法
Delphi
Function TPDFlib.ImportAnnotationsFromXFDFString(Const XFDF: WideString): Integer;參數
| XFDF | 內含 <annots> 容器的 XFDF XML 文字 |
|---|
傳回值
| >= 0 | 插入到有效目標頁面的註解數量 |
|---|
備註
帶有不支援註解元素、缺矩形或頁面索引超出範圍的條目會被略過