Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfGraphics.DrawString Method

Name Parameters Description
DrawString(String, DXFont, DXSolidBrush, PointF, PdfStringFormat) text, font, brush, point, format Draws text at the specified point. Allows you to specify brush, font, and string parameters.
DrawString(String, DXFont, DXSolidBrush, PointF) text, font, brush, point Draws text with the specified brush and font parameters at the specified page point.
DrawString(String, DXFont, DXSolidBrush, RectangleF, PdfStringFormat) text, font, brush, layout, format Draws text in the specified page rectangle. Allows you to specify brush, font, and string parameters.
DrawString(String, DXFont, DXSolidBrush, RectangleF) text, font, brush, layout Draws text with the specified brush and font parameters in the specified page rectangle.
DrawString(String, DXFont, DXSolidBrush, Single, Single, PdfStringFormat) text, font, brush, x, y, format Draws text at the specified page point. Allows you to specify brush, font, and string parameters.
DrawString(String, DXFont, DXSolidBrush, Single, Single) text, font, brush, x, y Draws text with the specified brush and font parameters at the specified point on a page.
DrawString(String, Font, SolidBrush, PointF, PdfStringFormat) text, font, brush, point, format Draws text at the specified point. Allows you to specify brush, font, and string parameters.
DrawString(String, Font, SolidBrush, PointF) text, font, brush, point Draws text with the specified brush and font parameters at the specified page point.
DrawString(String, Font, SolidBrush, RectangleF, PdfStringFormat) text, font, brush, layout, format Draws text in the specified page rectangle. Allows you to specify brush, font, and string parameters.
DrawString(String, Font, SolidBrush, RectangleF) text, font, brush, layout Draws text with the specified brush and font parameters in the specified page rectangle.
DrawString(String, Font, SolidBrush, Single, Single, PdfStringFormat) text, font, brush, x, y, format Draws text at the specified page point. Allows you to specify brush, font, and string parameters.
DrawString(String, Font, SolidBrush, Single, Single) text, font, brush, x, y Draws text with the specified brush and font parameters at the specified point on a page.