Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "GetTextExtentPoint" in [All]

gdi32

.
Summary
.

static extern bool GetTextExtentPoint32(IntPtr hdc, string lpString,

.

static extern bool GetTextExtentPoint32(IntPtr hdc, string lpString, int cbString, out SIZE lpSize);

.

    GDI.GetTextExtentPoint32(hdc, text, text.Length,out sz);

.
Documentation
[GetTextExtentPoint32] on MSDN
.
Summary
.

static extern bool GetTextExtentPoint32(IntPtr hdc, string lpString,

.

static extern bool GetTextExtentPoint32(IntPtr hdc, string lpString,

.

    GDI.GetTextExtentPoint32(hdc, text, text.Length,out sz);

.
Documentation
[GetTextExtentPoint32] on MSDN
.

   static extern bool GetTextExtentPoint(IntPtr hdc, string lpString,

.

       //Do the GetHdc(), GetTextExtentPoint, etc, here. Remember that you have

.

             GetTextExtentPoint(HDC, line, line.Length, ref MeasureSize);

coredll

.

Setting lpnFit and alpDx to null will get you the functionality of GetTextExtentPoint.


 
Access PInvoke.net directly from VS: