Skip to main content

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.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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