GraphicsCache.DrawString(String, Font, Brush, RectangleF, StringFormatInfo) Method
In This Article
Draws a string with custom parameters.
Namespace: DevExpress.Utils.Drawing
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public void DrawString(
string s,
Font font,
Brush brush,
RectangleF bounds,
StringFormatInfo strFormatInfo
)
#Parameters
Name | Type | Description |
---|---|---|
s | String | Text to draw. |
font | Font | The text font. |
brush | Brush | The Brush to paint the text string. |
bounds | Rectangle |
Specifies the text string location. |
str |
DevExpress. |
A String |
See Also