PDF for UWP | ComponentOne
C1.Xaml.Pdf Namespace / C1PdfDocument Class / DrawString Method / DrawString(TextBlock,Rect) Method
Windows.UI.Xaml.Controls.TextBlock that contains the text and formatting options.
Windows.Foundation.Rect that specifies the size and position of the text, in points.

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

    Parameters

    tb
    Windows.UI.Xaml.Controls.TextBlock that contains the text and formatting options.
    rc
    Windows.Foundation.Rect that specifies the size and position of the text, in points.
    See Also