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

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

    Parameters

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