TPDFlibMissingGlyphEvent
文字、字型、回呼
描述
定義一個 Delphi 物件事件,在文字操作輸出內容之前接收遺失的 Unicode 純量
語法
type TPDFlibMissingGlyphEvent= Procedure(Sender: TObject;
CodePoint: Cardinal; UTF16Index, Page: Integer;
Const FontName, Operation: WideString;
Var Action: Integer) Of Object;參數
| Sender | 作用中的 TPDFlib 實例 |
|---|---|
| CodePoint | 完整的 Unicode 純量值 |
| UTF16Index | 純量或 shaped cluster 的零起算來源索引 |
| Page | 所選頁碼(1 起算);沒有作用中的頁面時為零 |
| FontName | 所選的字型程式或資源名稱 |
| Operation | 偵測到缺字的文字操作 |
| Action | 進入時的目前政策,以及返回時所選的回報或中止動作 |