GetFontMetrics
字型
描述
取得所選字型的參數
語法
Delphi
Function TPDFlib.GetFontMetrics(MetricType: Integer): Integer;
ActiveX
Function PDFlib::GetFontMetrics(MetricType As Long) As Long
DLL
int DLGetFontMetrics(int InstanceID, int MetricType);
參數
| MetricType | 1: FontAscent, 2: FontDescent, 3: FontInternalLeading, 4: FontExternalLeading, 5: EM Square, 6: Average char width |
|---|