The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PdfGraphics.DrawString Method

Name Parameters Description
DrawString(String, Font, SolidBrush, PointF) text, font, brush, point

A set of overloaded methods used to draw the text string with the specified SolidBrush, Font objects and other parameters.

DrawString(String, Font, SolidBrush, PointF, PdfStringFormat) text, font, brush, point, format

Draws the specified text string at the specified location with the specified SolidBrush and Font objects using the formatting attributes of the specified PdfStringFormat.

DrawString(String, Font, SolidBrush, RectangleF) text, font, brush, layout

A set of overloaded methods used to draw the text string with the specified SolidBrush, Font objects and other parameters.

DrawString(String, Font, SolidBrush, RectangleF, PdfStringFormat) text, font, brush, layout, format

Draws the specified text at the specified rectangle with the specified SolidBrush and Font objects using the formatting attributes of the specified PdfStringFormat.

DrawString(String, Font, SolidBrush, Single, Single) text, font, brush, x, y

A set of overloaded methods used to draw the text string with the specified SolidBrush, Font objects and other parameters.

DrawString(String, Font, SolidBrush, Single, Single, PdfStringFormat) text, font, brush, x, y, format

Draws the specified text string at the specified location with the specified SolidBrush and Font objects using the formatting attributes of the specified PdfStringFormat.