Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

LineFillFormat.SetPatternFill(PatternFillType, Color, Color) Method

Applies a pattern fill to a line or a shape’s border.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v20.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

void SetPatternFill(
    PatternFillType pattern,
    Color foregroundColor,
    Color backgroundColor
)

Parameters

Name Type Description
pattern PatternFillType

One of the preset patterns.

foregroundColor Color

A foreground color.

backgroundColor Color

A background color.

Remarks

Use the SetPatternFill method to fill a shape line with a repeated pattern defined by the PatternFillType enumeration value.

See Also