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


In This Topic
    PaintText(Graphics,Rectangle,String,Brush,Brush,Boolean) Method
    In This Topic
    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 NDataGridComboBoxColumnStyle
    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)
    protected void PaintText( 
       System.Drawing.Graphics g,
       System.Drawing.Rectangle textBounds,
       System.string text,
       System.Drawing.Brush backBrush,
       System.Drawing.Brush foreBrush,
       System.bool 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