Draws a string into the specified
System.Windows.Rect.
Syntax
'Declaration
Public Overloads Sub DrawString( _
ByVal As TextBlock, _
ByVal As Rect _
)
public void DrawString(
TextBlock ,
Rect
)
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