PDFiumPas 文件

FontWeight 属性

组件: TPdfView  ·  单元: PDFium
TPdfView 封装,转发到 TPdf.FontWeight

Syntax

property FontWeight[Index: Integer]: Integer;

Description

镜像 TPdf.FontWeight。TPdfView 组件将调用转发给其底层的 Pdf 实例,并在调用修改文档时刷新视图

TPdf.FontWeight 的所有语义说明在此同样适用;唯一区别是通过可视化控件而不是模型对象来执行该操作

当 TPdfView 绑定到外部 TPdf(赋值 PdfView1.Pdf := Pdf1)时,读取此成员返回与 Pdf1.FontWeight 相同的数据;当 TPdfView 拥有内部 TPdf 时,此成员是唯一的公共访问器

Remarks

Example

if PdfView1.Active then
  Memo1.Lines.Add('FontWeight = ' + VarToStr(PdfView1.FontWeight));

See Also

FontWeight, Pdf, Active