Class CFGradientItem
Specifies one control point in the gradient curve.
Inheritance
System.Object
CFGradientItem
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.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 |
---|
System.UInt32 |
NumGradientRange
The numerical value of the control point.
Declaration
public double NumGradientRange { get; set; }
Property Value
Type |
---|
System.Double |
TintShade
Tint and shade.
Declaration
public long TintShade { get; set; }
Property Value
Type |
---|
System.Int64 |
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 |
---|
System.Int32 |
ParseCFGradient(DataProvider, Int32, 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. |
System.Int32 | iOffset | Offset to the record's data. |
ExcelVersion | version | Excel version used for infill. |
Returns
Type |
---|
System.Int32 |
SerializeCFGradient(DataProvider, Int32, ExcelVersion, Double, Boolean)
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. |
System.Int32 | iOffset | Offset in the buffer. |
ExcelVersion | version | Excel version used for infill. |
System.Double | numValue | |
System.Boolean | isParsed |
Returns
Type |
---|
System.Int32 |