Nevron.UI.WinForm.Controls Namespace / NDataGridTextControlColumnStyleBase Class / PaintText Method / PaintText(Graphics,Rectangle,String,Brush,Brush,Boolean) Method


PaintText(Graphics,Rectangle,String,Brush,Brush,Boolean) Method
Syntax
'Declaration
 
Protected Overloads Sub PaintText( _
   ByVal g As System.Drawing.Graphics, _
   ByVal textBounds As System.Drawing.Rectangle, _
   ByVal text As System.String, _
   ByVal backBrush As System.Drawing.Brush, _
   ByVal foreBrush As System.Drawing.Brush, _
   ByVal alignToRight As System.Boolean _
) 
 
'Usage
 
Dim instance As NDataGridTextControlColumnStyleBase
Dim g As System.Drawing.Graphics
Dim textBounds As System.Drawing.Rectangle
Dim text As System.String
Dim backBrush As System.Drawing.Brush
Dim foreBrush As System.Drawing.Brush
Dim alignToRight As System.Boolean
 
instance.PaintText(g, textBounds, text, backBrush, foreBrush, alignToRight)

Parameters

g
textBounds
text
backBrush
foreBrush
alignToRight
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