Example #1
0
 private static extern SIZE16 GetCharacterPlacement(HDC hdc, string lpString, int nCount, int nMaxExtent, ref GCP_RESULTS lpResults, GCP dwFlags);
Example #2
0
 //===========================================================
 //		GetCharacterPlacement
 //===========================================================
 //
 //	何に使うのか良く分からない関数。後で詳しく MSDN を見る。
 //
 public SIZE16 GetCharacterPlacement(string text, GCP flags, int maxExtent, ref GCP_RESULTS results)
 {
     return(GetCharacterPlacement(this.hdc, text, text.Length, maxExtent, ref results, flags));
 }