Skip to main content
All docs
V24.1

DXGraphicsPath.AddString(String, DXFont, RectangleF, DXStringFormat) Method

Adds a text string to this path.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public void AddString(
    string text,
    DXFont font,
    RectangleF rect,
    DXStringFormat stringFormat
)

Parameters

Name Type Description
text String

A text to add.

font DXFont

An object that contains font information.

rect RectangleF

An area where to draw a text string.

stringFormat DXStringFormat

An object that contains text formatting information (alignment, line spacing and so on).

See Also