Draws the specified text string starting from the specified position.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void DrawString(
	double x,
	double y,
	string text
)
VB
Public Sub DrawString ( 
	x As Double,
	y As Double,
	text As String
)

Parameters

x
Type: System.Double
The x-coordinate of the upper-left corner of the drawn text.
y
Type: System.Double
The y-coordinate of the upper-left corner of the drawn text.
text
Type: System.String
The string to draw.

Remarks

The string represented by the text parameter always spans only one line. Please use DrawText() if you want to draw more than one line of text.

See Also