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标量或整形簇从零开始的源索引
Page选中的从 1 开始计数的页码;没有活动页面时为零
FontName所选字体程序或资源名称
Operation检测到缺失字形的文本操作
Action进入时的当前策略,以及返回时选择的报告或中止操作

另请参阅

OnMissingGlyph、SetMissingGlyphCallback