ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word Namespace / C1WordDocument Class / DrawString Method / DrawString(String,Font,Color,RectangleF) Method
The text string of the paragraph.
The drawing font.
The drawing color.
The drawing rectangle.

In This Topic
    DrawString(String,Font,Color,RectangleF) Method
    In This Topic
    Draw text string into this document in next position.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawString( _
       ByVal text As System.String, _
       ByVal font As System.Drawing.Font, _
       ByVal clr As System.Drawing.Color, _
       ByVal rc As System.Drawing.RectangleF _
    ) 
    public void DrawString( 
       System.string text,
       System.Drawing.Font font,
       System.Drawing.Color clr,
       System.Drawing.RectangleF rc
    )

    Parameters

    text
    The text string of the paragraph.
    font
    The drawing font.
    clr
    The drawing color.
    rc
    The drawing rectangle.
    See Also