DXGraphics.DrawString(String, DXFont, DXBrush, RectangleF, DXStringFormat) Method
Draws text in the specified rectangle. Allows you to specify brush, font, and string parameters.
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v24.1.dll
NuGet Package: DevExpress.Drawing
Declaration
public void DrawString(
string text,
DXFont font,
DXBrush brush,
RectangleF layoutRectangle,
DXStringFormat format
)
Parameters
Name | Type | Description |
---|---|---|
text | String | A text to draw. |
font | DXFont | An object that defines text font options. |
brush | DXBrush | An object that determines the color and texture of the drawn text. |
layoutRectangle | RectangleF | A location where the text should be drawn. |
format | DXStringFormat | An object that specifies text formatting attributes. |
See Also