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.v22.1.dll

NuGet Package: DevExpress.Win.RichEdit

Declaration

public RichEditPen(
    Color color,
    int thickness
)

Parameters

Name Type Description
color Color

Represents one of the ARGB color values.

thickness Int32

An int value that is the line thickness.

Remarks

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

See Also