SpreadPatternFill
Pattern-based cell fill defined by a pattern style plus optional pattern and background colors.
Definition
Namespace:Telerik.Documents.SpreadsheetStreaming
Assembly:Telerik.Documents.SpreadsheetStreaming.dll
Syntax:
public class SpreadPatternFill : ISpreadFill
Inheritance: objectSpreadPatternFill
Implements:
Constructors
Initializes a new instance of the SpreadPatternFill class.
public SpreadPatternFill(SpreadPatternType patternType, SpreadThemableColor patternColor, SpreadThemableColor backgroundColor)
Type of the pattern.
patternColorSpreadThemableColorColor of the pattern.
backgroundColorSpreadThemableColorColor of the background.
Initializes a new instance of the SpreadPatternFill class.
public SpreadPatternFill(SpreadPatternType patternType)
Type of the pattern.
Methods
Creates a solid fill from an RGB color.
public static SpreadPatternFill CreateSolidFill(SpreadColor color)
The color of the pattern.
Returns:Solid pattern fill.
Creates a solid fill from a themable color.
public static SpreadPatternFill CreateSolidFill(SpreadThemableColor color)
The color of the pattern.
Returns:Solid pattern fill.
Properties
Background color behind the pattern.
public SpreadThemableColor BackgroundColor { get; }
The color of the background.
Foreground (pattern) color.
public SpreadThemableColor PatternColor { get; }
The color of the pattern.
Pattern style applied to the fill.
public SpreadPatternType PatternType { get; }
The type of the pattern.