ComponentOne PDF for WPF and Silverlight
DrawString(TextBlock,Rect) Method

C1.WPF.Pdf.4 Assembly > C1.WPF.Pdf Namespace > C1PdfDocument Class > DrawString Method : DrawString(TextBlock,Rect) Method
System.Windows.Controls.TextBlock that contains the text and formatting options.
System.Windows.Rect that specifies the size and position of the text, in points.
Draws a string into the specified System.Windows.Rect.
Syntax
'Declaration
 
Public Overloads Sub DrawString( _
   ByVal tb As TextBlock, _
   ByVal rc As Rect _
) 
public void DrawString( 
   TextBlock tb,
   Rect rc
)

Parameters

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

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List