Class SpreadPatternFill
Describes a pattern type of fill.
Inheritance
Inherited Members
Namespace: Telerik.Documents.SpreadsheetStreaming
Assembly: Telerik.Documents.SpreadsheetStreaming.dll
Syntax
public class SpreadPatternFill : ISpreadFill
Constructors
SpreadPatternFill(SpreadPatternType)
Initializes a new instance of the SpreadPatternFill class.
Declaration
public SpreadPatternFill(SpreadPatternType patternType)
Parameters
SpreadPatternType
patternType
Type of the pattern. |
SpreadPatternFill(SpreadPatternType, SpreadThemableColor, SpreadThemableColor)
Initializes a new instance of the SpreadPatternFill class.
Declaration
public SpreadPatternFill(SpreadPatternType patternType, SpreadThemableColor patternColor, SpreadThemableColor backgroundColor)
Parameters
SpreadPatternType
patternType
Type of the pattern. |
SpreadThemableColor
patternColor
Color of the pattern. |
SpreadThemableColor
backgroundColor
Color of the background. |
Properties
BackgroundColor
Gets the color of the background.
Declaration
public SpreadThemableColor BackgroundColor { get; }
Property Value
SpreadThemableColor
The color of the background. |
PatternColor
Gets the color of the pattern.
Declaration
public SpreadThemableColor PatternColor { get; }
Property Value
SpreadThemableColor
The color of the pattern. |
PatternType
Gets the type of the pattern.
Declaration
public SpreadPatternType PatternType { get; }
Property Value
SpreadPatternType
The type of the pattern. |
Methods
CreateSolidFill(SpreadColor)
Creates a solid pattern fill.
Declaration
public static SpreadPatternFill CreateSolidFill(SpreadColor color)
Parameters
SpreadColor
color
The color of the pattern. |
Returns
SpreadPatternFill
Solid pattern fill. |
CreateSolidFill(SpreadThemableColor)
Creates a solid pattern fill.
Declaration
public static SpreadPatternFill CreateSolidFill(SpreadThemableColor color)
Parameters
SpreadThemableColor
color
The color of the pattern. |
Returns
SpreadPatternFill
Solid pattern fill. |
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
System.Boolean
Returns true if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |