Class CFGradientItem
Specifies one control point in the gradient curve.
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class CFGradientItem
Constructors
CFGradientItem()
Default constructor.
Declaration
public CFGradientItem()
Properties
ColorType
Type of color.
Declaration
public ColorType ColorType { get; set; }
Property Value
| Type |
|---|
| ColorType |
ColorValue
Color value.
Declaration
public uint ColorValue { get; set; }
Property Value
| Type |
|---|
| uint |
NumGradientRange
The numerical value of the control point.
Declaration
public double NumGradientRange { get; set; }
Property Value
| Type |
|---|
| double |
TintShade
Tint and shade.
Declaration
public long TintShade { get; set; }
Property Value
| Type |
|---|
| long |
Methods
GetStoreSize(ExcelVersion)
Size of the required storage space. Read-only.
Declaration
public int GetStoreSize(ExcelVersion version)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelVersion | version |
Returns
| Type |
|---|
| int |
ParseCFGradient(DataProvider, int, ExcelVersion)
Parse structure of template parameter. Converts data buffer to special values according to record specification.
Declaration
public int ParseCFGradient(DataProvider provider, int iOffset, ExcelVersion version)
Parameters
| Type | Name | Description |
|---|---|---|
| DataProvider | provider | Object that provides access to the data. |
| int | iOffset | Offset to the record's data. |
| ExcelVersion | version | Excel version used for infill. |
Returns
| Type |
|---|
| int |
SerializeCFGradient(DataProvider, int, ExcelVersion, double, bool)
In this method, class must pack all of its properties into an internal data array, m_data. This method is called by FillStream, when the record must be serialized into a stream.
Declaration
public int SerializeCFGradient(DataProvider provider, int iOffset, ExcelVersion version, double numValue, bool isParsed)
Parameters
| Type | Name | Description |
|---|---|---|
| DataProvider | provider | Object that provides access to the data. |
| int | iOffset | Offset in the buffer. |
| ExcelVersion | version | Excel version used for infill. |
| double | numValue | |
| bool | isParsed |
Returns
| Type |
|---|
| int |