Skip to main content

RichEditPen(Color, Int32) Constructor

Initializes new instance of the RichEditPen class with the specified settings.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap


public RichEditPen(
    Color color,
    int thickness


Name Type Description
color Color

Represents one of the ARGB color values.

thickness Int32

An int value that is the line thickness.


To set the line style of the RichEditPen object, use the RichEditPenBase.DashStyle property.

See Also