Draws a string into the specified Rect.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public int DrawString(
	string text,
	Font font,
	Color color,
	Rect rc,
	StringFormat fmt
)
Visual Basic
Public Function DrawString ( _
	text As String, _
	font As Font, _
	color As Color, _
	rc As Rect, _
	fmt As StringFormat _
) As Integer

Parameters

text
Type: System..::..String
Text to draw.
font
Type: C1.Silverlight.Pdf..::..Font
Font to use for drawing the text.
color
Type: System.Windows.Media..::..Color
Color of the text.
rc
Type: System.Windows..::..Rect
Rect that specifies the size and position of the text, in points.
fmt
Type: C1.Silverlight.Pdf..::..StringFormat
StringFormat that contains formatting options.

See Also