Nevron.UI Namespace / NTextRenderer Class / DrawText Method / DrawText(Graphics,Font,NRectangle,String,Color,Int32,TextOrientation) Method


DrawText(Graphics,Font,NRectangle,String,Color,Int32,TextOrientation) Method
Syntax
'Declaration
 
Public Overloads Shared Sub DrawText( _
   ByVal g As System.Drawing.Graphics, _
   ByVal f As System.Drawing.Font, _
   ByVal r As NRectangle, _
   ByVal text As System.String, _
   ByVal fore As System.Drawing.Color, _
   ByVal flags As System.Integer, _
   ByVal orientation As TextOrientation _
) 
 
'Usage
 
Dim g As System.Drawing.Graphics
Dim f As System.Drawing.Font
Dim r As NRectangle
Dim text As System.String
Dim fore As System.Drawing.Color
Dim flags As System.Integer
Dim orientation As TextOrientation
 
NTextRenderer.DrawText(g, f, r, text, fore, flags, orientation)

Parameters

g
f
r
text
fore
flags
orientation
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