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進入時的目前政策,以及返回時所選的回報或中止動作

另見

OnMissingGlyph, SetMissingGlyphCallback