GetFontMetrics

字体

描述

获取选定的字体参数

语法

Delphi

Function TPDFlib.GetFontMetrics(MetricType: Integer): Integer;

ActiveX

Function PDFlib::GetFontMetrics(MetricType As Long) As Long

DLL

int DLGetFontMetrics(int InstanceID, int MetricType);

参数

MetricType1:FontAscent,2:FontDescent,3:FontInternalLeading,4:FontExternalLeading,5:EM Square,6:平均字符宽度