[DllImport("gdi32.dll")]
static extern bool GetTextMetrics(IntPtr hdc, out TEXTMETRIC lptm);
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
struct TEXTMETRIC
{
int tmHeight;
int tmAscent;
int tmDescent;
int tmInternalLeading;
int tmExternalLeading;
int tmAveCharWidth;
int tmMaxCharWidth;
int tmWeight;
int tmOverhang;
int tmDigitizedAspectX;
int tmDigitizedAspectY;
char tmFirstChar;
char tmLastChar;
char tmDefaultChar;
char tmBreakChar;
byte tmItalic;
byte tmUnderlined;
byte tmStruckOut;
byte tmPitchAndFamily;
byte tmCharSet;
}
None.
Please add some!
Please add some!
Do you know one? Please contribute it!