Esempio n. 1
0
 public static extern bool GetTextExtentPoint32(HDC hdc, string stText, int cch, out SIZE size);
Esempio n. 2
0
 public static bool GetTextExtentPoint32(HDC hdc, string stText, out SIZE size)
 {
     return GetTextExtentPoint32(hdc, stText, stText.Length, out size);
 }