RichEditPen(Color, Int32) Constructor

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.2.dll

Declaration

public RichEditPen(
    Color color,
    int thickness
)
Public Sub New(
    color As Color,
    thickness As Integer
)

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