Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditPen(Color, Int32) Constructor

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.2.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