.
The mechanism provided by the CLR that enables managed code to call static DLL exports.
3/15/2016 1:24:19 AM - -84.164.4.39
The GetTextMetrics API
2/15/2014 8:05:57 AM - Szymon Katra-95.49.0.3
The GetOutlineTextMetrics API
3/16/2007 7:45:19 AM - migel.geo@yahoo.com-83.237.161.221
.
The GetTextMetrics API
2/15/2014 8:05:57 AM - Szymon Katra-95.49.0.3
.
static extern bool GetTextMetrics(IntPtr hdc, out TEXTMETRIC lptm);
.
private static extern bool GetTextMetricsW(IntPtr hdc, out TEXTMETRICW lptm);
.
private static extern bool GetTextMetricsA(IntPtr hdc, out TEXTMETRICA lptm);
.
public static TEXTMETRIC GetTextMetrics(Graphics graphics, Font font)
.
bool result = GetTextMetrics(hDC, out textMetric);
.
static extern bool GetTextMetrics(IntPtr hdc, out TEXTMETRIC lptm);
.
static bool GetTextMetrics(IntPtr hdc, [Out] TEXTMETRIC% lptm);
.
TEXTMETRIC^ GetTextMetricsReal(Graphics^ g, Font^ font)
.
bool result = Win32::GetTextMetrics(hDC, *textMetric);
.