[DllImport("gdi32.dll")]
static extern bool GetTextMetrics(IntPtr hdc, out TEXTMETRIC lptm);
This function call seems to generate a "System Runtime Exception" when it is called. Using GetTextMetrics, or GetTextMetricsW directly seems to generate the same results.
Please add some!
Please add some!
Do you know one? Please contribute it!