PageCanvas.DrawString(String, Font, RichEditBrushBase, Rectangle) Method
In This Article
Places a custom string at the selected position.
Namespace: DevExpress.XtraRichEdit.API.Layout
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
public void DrawString(
string str,
Font font,
RichEditBrushBase brush,
Rectangle bounds
)
#Parameters
Name | Type | Description |
---|---|---|
str | String | A custom string that will be placed at the selected position. |
font | Font | Sets font parameters for the custom string. |
brush | Rich |
The Rich |
bounds | Rectangle | Sets the string’s location and size. |
See Also