[]
        
(Showing Draft Content)

C1.Util.Win.Win32.GetTextExtentExPoint

GetTextExtentExPoint Method

GetTextExtentExPoint(IntPtr, string, int, int, int*, int*, ref Size)

Declaration
public static extern bool GetTextExtentExPoint(IntPtr hdc, string lpszStr, int cchString, int nMaxExtent, int* lpnFit, int* alpDX, ref Size lpSize)
Public Shared Function GetTextExtentExPoint(hdc As IntPtr, lpszStr As String, cchString As Integer, nMaxExtent As Integer, lpnFit As Integer*, alpDX As Integer*, ByRef lpSize As Size) As Boolean
Parameters
Type Name Description
IntPtr hdc
string lpszStr
int cchString
int nMaxExtent
int* lpnFit
int* alpDX
Size lpSize
Returns
Type Description
bool

GetTextExtentExPoint(IntPtr, string, int, int, out int, int[], out Size)

Declaration
public static extern bool GetTextExtentExPoint(IntPtr hdc, string lpszStr, int cchString, int nMaxExtent, out int lpnFit, int[] alpDx, out Size lpSize)
Public Shared Function GetTextExtentExPoint(hdc As IntPtr, lpszStr As String, cchString As Integer, nMaxExtent As Integer, ByRef lpnFit As Integer, alpDx As Integer(), ByRef lpSize As Size) As Boolean
Parameters
Type Name Description
IntPtr hdc
string lpszStr
int cchString
int nMaxExtent
int lpnFit
int[] alpDx
Size lpSize
Returns
Type Description
bool