Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

public void DrawString(
    string s,
    Font font,
    Brush brush,
    PointF point
)

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.

The following code snippets (auto-collected from DevExpress Examples) contain references 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.

See Also