GetFontMetrics
Phông chữ
Mô tả
Lấy các tham số font đang chọn
Cú pháp
Delphi
Function TPDFlib.GetFontMetrics(MetricType: Integer): Integer;
ActiveX
Function PDFlib::GetFontMetrics(MetricType As Long) As Long
DLL
int DLGetFontMetrics(int InstanceID, int MetricType);
Tham số
| MetricType | 1: FontAscent, 2: FontDescent, 3: FontInternalLeading, 4: FontExternalLeading, 5: EM Square, 6: Average char width |
|---|