All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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

Declaration

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

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