Flexible TreeView 5.1.9 Help
DrawText(String,DrawContext,Point,Font,Color) Method



The text to draw.
The draw context.
The text location.
Default text font.
The text foreground color.
Draws the text using the specified settings and text location.
Syntax
'Declaration
 
Public Overloads Shared Sub DrawText( _
   ByVal pText As String, _
   ByVal pContext As DrawContext, _
   ByVal pLocation As Point, _
   ByVal pFont As Font, _
   ByVal pForeColor As Color _
) 
'Usage
 
Dim pText As String
Dim pContext As DrawContext
Dim pLocation As Point
Dim pFont As Font
Dim pForeColor As Color
 
TextLayoutHelper.DrawText(pText, pContext, pLocation, pFont, pForeColor)
public static void DrawText( 
   string pText,
   DrawContext pContext,
   Point pLocation,
   Font pFont,
   Color pForeColor
)

Parameters

pText
The text to draw.
pContext
The draw context.
pLocation
The text location.
pFont
Default text font.
pForeColor
The text foreground color.
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

Reference

TextLayoutHelper Class
TextLayoutHelper Members
Overload List

Send Feedback