GetFontMetrics
Fontes
Descrição
Obtém os parâmetros da fonte selecionada
Sintaxe
Delphi
Function TPDFlib.GetFontMetrics(MetricType: Integer): Integer;
ActiveX
Function PDFlib::GetFontMetrics(MetricType As Long) As Long
DLL
int DLGetFontMetrics(int InstanceID, int MetricType);
Parâmetros
| MetricType | 1: FontAscent, 2: FontDescent, 3: FontInternalLeading, 4: FontExternalLeading, 5: EM Square, 6: largura média de caractere |
|---|
Valores retornados
Retorna a métrica da fonte selecionada identificada por MetricType, ou 0 quando nenhuma fonte está selecionada