DXGraphics.DrawString(String, DXFont, DXBrush, PointF, 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,
PointF point,
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. |
point | PointF | A point where you can position text. |
format | DXStringFormat | An object that specifies text formatting attributes. |
See Also