Note: This API is now obsolete.
Draws the specified text string starting from the specified
position rotated by the specified angle.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
[ObsoleteAttribute("This method is obsolete and will be removed in the next version of the library. Use DrawString(PdfPoint, string, PdfStringDrawingOptions) method instead.")]
public void DrawString(
PdfPoint position,
double angle,
string text
)
VB
<ObsoleteAttribute("This method is obsolete and will be removed in the next version of the library. Use DrawString(PdfPoint, string, PdfStringDrawingOptions) method instead.")>
Public Sub DrawString (
position As PdfPoint,
angle As Double,
text As String
)
Parameters
- position
- Type: BitMiracle.Docotic.Pdf.PdfPoint
A PdfPoint structure that
specifies the upper-left corner of the drawn text. - angle
- Type: System.Double
The angle, in degrees, to rotate text by. - text
- Type: System.String
The string to draw.
Remarks
Text gets rotated in counter-clockwise direction.
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