GraphicsCache.DrawString(String, Font, Brush, PointF) Method
Draws the specified text string at the specified location with the specified Brush and Font objects.
Namespace: DevExpress.Utils.Drawing
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
s | String | String to draw. |
font | Font | Font that defines the text format of the string. |
brush | Brush | Brush that determines the color and texture of the drawn text. |
point | PointF | PointF structure that specifies the upper-left corner of the drawn text. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DrawString(String, Font, Brush, PointF) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.