Nevron.Interop.Win32 Namespace / NGdi32 Class / GetTextExtentPoint32 Method


GetTextExtentPoint32 Method
Syntax
'Declaration
 
Public Shared Function GetTextExtentPoint32( _
   ByVal hdc As System.IntPtr, _
   ByVal str As System.String, _
   ByVal len As System.Integer, _
   ByRef size As NWin32.SIZE _
) As System.Integer
 
'Usage
 
Dim hdc As System.IntPtr
Dim str As System.String
Dim len As System.Integer
Dim size As NWin32.SIZE
Dim value As System.Integer
 
value = NGdi32.GetTextExtentPoint32(hdc, str, len, size)

Parameters

hdc
str
len
size
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also