ComponentOne List for WinForms
C1.Win.List 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.

In This Topic
    RenderDirectText Method (C1OwnerDrawPrint)
    In This Topic
    Renders text for the document.
    Syntax
    'Declaration
     
    
    Public Sub RenderDirectText( _
       ByVal x As Object, _
       ByVal y As Object, _
       ByVal text As String, _
       ByVal width As Object, _
       ByVal font As Font, _
       ByVal textColor As Color, _
       ByVal horzAlign As AlignHorzEnum _
    ) 
    public void RenderDirectText( 
       object x,
       object y,
       string text,
       object width,
       Font font,
       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