GetFontMetrics

フォント

説明

選択したフォントのパラメータを取得します

構文

Delphi

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

ActiveX

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

DLL

int DLGetFontMetrics(int InstanceID, int MetricType);

パラメータ

MetricType1: FontAscent、2: FontDescent、3: FontInternalLeading、4: FontExternalLeading、5: EM Square、6: 平均文字幅