Class FillImpl
Summary description for FillImpl.
Inheritance
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class FillImpl : Object
Constructors
FillImpl()
Prevents user from creating such items without arguments.
Declaration
public FillImpl()
FillImpl(ExcelPattern, ColorObject, ColorObject)
Initializes new instance of the fill.
Declaration
public FillImpl(ExcelPattern pattern, ColorObject color, ColorObject patternColor)
Parameters
Type | Name | Description |
---|---|---|
ExcelPattern | pattern | Represents pattern. |
ColorObject | color | Represents color. |
ColorObject | patternColor | Represents pattern color. |
FillImpl(ExcelPattern, Color, Color)
Initializes new instance of the fill.
Declaration
public FillImpl(ExcelPattern pattern, Color color, Color patternColor)
Parameters
Type | Name | Description |
---|---|---|
ExcelPattern | pattern | |
System.Drawing.Color | color | |
System.Drawing.Color | patternColor |
FillImpl(ExtendedFormatImpl)
Initializes new instance of the fill.
Declaration
public FillImpl(ExtendedFormatImpl format)
Parameters
Type | Name | Description |
---|---|---|
ExtendedFormatImpl | format | Parent extended format. |
Properties
ColorObject
Returns the color of the interior. The color is specified as an index value into the current color palette. Read-only.
Declaration
public ColorObject ColorObject { get; }
Property Value
Type |
---|
ColorObject |
FillType
Gets / sets fill type.
Declaration
public ExcelFillType FillType { get; set; }
Property Value
Type |
---|
ExcelFillType |
GradientStyle
Gets / sets gradient style.
Declaration
public ExcelGradientStyle GradientStyle { get; set; }
Property Value
Type |
---|
ExcelGradientStyle |
GradientVariant
Gets / sets gradient variant.
Declaration
public ExcelGradientVariants GradientVariant { get; set; }
Property Value
Type |
---|
ExcelGradientVariants |
Pattern
Returns fill pattern. Read-only.
Declaration
public ExcelPattern Pattern { get; set; }
Property Value
Type |
---|
ExcelPattern |
PatternColorObject
Returns the color of the interior pattern as an index into the current color palette. Read-only.
Declaration
public ColorObject PatternColorObject { get; }
Property Value
Type |
---|
ColorObject |
Methods
Clone()
Creates copy of the current object.
Declaration
public FillImpl Clone()
Returns
Type | Description |
---|---|
FillImpl | A copy of the current object. |
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The Object to compare with the current Object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified Object is equal to the current Object; otherwise, false. |
GetHashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current object. |