ComponentOne True DBGrid for WinForms
RenderDirectText Method

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > C1OwnerDrawPrint Class : RenderDirectText Method
X-coordinate to start the rendering.
Y-coordinate to start the rendering.
The text to render.
The width for the rendered text.
The font to use.
The color of the text.
The alignment to render the text.
Renders text for the document.
Syntax
'Declaration
 
Public Sub RenderDirectText( _
   ByVal x As System.Object, _
   ByVal y As System.Object, _
   ByVal text As System.String, _
   ByVal width As System.Object, _
   ByVal font As System.Drawing.Font, _
   ByVal textColor As System.Drawing.Color, _
   ByVal horzAlign As AlignHorzEnum _
) 
public void RenderDirectText( 
   System.object x,
   System.object y,
   System.string text,
   System.object width,
   System.Drawing.Font font,
   System.Drawing.Color textColor,
   AlignHorzEnum horzAlign
)

Parameters

x
X-coordinate to start the rendering.
y
Y-coordinate to start the rendering.
text
The text to render.
width
The width for the rendered text.
font
The font to use.
textColor
The color of the text.
horzAlign
The alignment to render the text.
See Also

Reference

C1OwnerDrawPrint Class
C1OwnerDrawPrint Members