ComponentOne Word for WPF
C1.WPF.Word.4.5.2 Assembly / C1.WPF.Word Namespace / C1WordDocument Class / DrawString Method / DrawString(TextBlock,Rect,Boolean) Method
System.Windows.Controls.TextBlock that contains the text and formatting options.
A rectangle that specifies the size and position of the text, in points.
Is overlapping or no exist TextBox object.

In This Topic
    DrawString(TextBlock,Rect,Boolean) Method
    In This Topic
    Draws a string into the specified rectangle.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawString( _
       ByVal tb As TextBlock, _
       ByVal rc As Rect, _
       Optional ByVal overlapping As Boolean _
    ) 
    public void DrawString( 
       TextBlock tb,
       Rect rc,
       bool overlapping
    )

    Parameters

    tb
    System.Windows.Controls.TextBlock that contains the text and formatting options.
    rc
    A rectangle that specifies the size and position of the text, in points.
    overlapping
    Is overlapping or no exist TextBox object.
    See Also