Click or drag to resize

FillFormatSetPattern Method

Sets the fill to the pattern fill.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1038 (21.3.35.1038)
Syntax
public PatternFillFormat SetPattern(
	PatternFillType patternType,
	Color foregroundColor,
	Color backgroundColor
)

Parameters

patternType
Type: GemBox.PresentationPatternFillType
Type of the pattern fill.
foregroundColor
Type: GemBox.PresentationColor
Foreground color of the pattern fill.
backgroundColor
Type: GemBox.PresentationColor
Background color of the pattern fill.

Return Value

Type: PatternFillFormat
An instance of a PatternFillFormat type that was set.
See Also