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: 평균 문자 너비 |
|---|
반환 값
MetricType이 식별하는 선택한 글꼴 메트릭을 반환하고, 글꼴이 선택되지 않았으면 0을 반환합니다