TreeView for WinForms | ComponentOne
C1.Util.Win Namespace / Win32 Class / GetTextExtentExPoint Method / GetTextExtentExPoint(IntPtr,String,Int32,Int32,Int32,Int32,Size) Method

In This Topic
    GetTextExtentExPoint(IntPtr,String,Int32,Int32,Int32,Int32,Size) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetTextExtentExPoint( _
       ByVal hdc As IntPtr, _
       ByVal lpszStr As String, _
       ByVal cchString As Integer, _
       ByVal nMaxExtent As Integer, _
       ByVal lpnFit As Integer, _
       ByVal alpDX As Integer, _
       ByRef lpSize As Size _
    ) As Boolean
    public static bool GetTextExtentExPoint( 
       IntPtr hdc,
       string lpszStr,
       int cchString,
       int nMaxExtent,
       int* lpnFit,
       int* alpDX,
       ref Size lpSize
    )

    Parameters

    hdc
    lpszStr
    cchString
    nMaxExtent
    lpnFit
    alpDX
    lpSize
    See Also