Class ColorScale
Color scale.
Inheritance
System.Object
ColorScale
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class ColorScale : Object
Constructors
ColorScale()
Default constructor.
Declaration
public ColorScale()
Properties
ColorScaleImpl
Gets the ColorScale
Declaration
public IColorScale ColorScaleImpl { get; }
Property Value
Type |
---|
IColorScale |
DefaultRecordSize
Gets the Default Record Size
Declaration
public ushort DefaultRecordSize { get; }
Property Value
Type |
---|
System.UInt16 |
ListCFGradientItem
Gradient Item.
Declaration
public List<CFGradientItem> ListCFGradientItem { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<CFGradientItem> |
ListCFInterpolationCurve
Interpolation curve.
Declaration
public List<CFInterpolationCurve> ListCFInterpolationCurve { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<CFInterpolationCurve> |
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 |
ParseColorScale(DataProvider, Int32, ExcelVersion)
Parse structure of template parameter. Converts data buffer to special values according to record specification.
Declaration
public int ParseColorScale(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 |
SerializeColorScale(DataProvider, Int32, ExcelVersion, IColorScale)
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 SerializeColorScale(DataProvider provider, int iOffset, ExcelVersion version, IColorScale m_iColorScale)
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. |
IColorScale | m_iColorScale |
Returns
Type |
---|
System.Int32 |
UpdateColorScaleColor(IColorScale)
Update criteria.
Declaration
public void UpdateColorScaleColor(IColorScale m_colorScale)
Parameters
Type | Name | Description |
---|---|---|
IColorScale | m_colorScale |