GetFontMetrics

Fonts

Description

Gets selected font parameters

Syntax

Delphi

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

ActiveX

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

DLL

int DLGetFontMetrics(int InstanceID, int MetricType);

Parameters

MetricType1: FontAscent, 2: FontDescent, 3: FontInternalLeading, 4: FontExternalLeading, 5: EM Square, 6: Average char width