Class ChartValueRangeRecord
This record defines the value axis.
Inheritance
Namespace: Syncfusion.XlsIO.Parser.Biff_Records.Charts
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[Biff]
public class ChartValueRangeRecord : BiffRecordRaw, ICloneable, IBiffStorage, IMaxCross
Constructors
ChartValueRangeRecord()
Default constructor, initializes all fields with default values.
Declaration
public ChartValueRangeRecord()
ChartValueRangeRecord(Int32)
Reserved for record's internal data array.
Declaration
public ChartValueRangeRecord(int iReserve)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iReserve | Amount of bytes for data array. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | If amount of bytes requested is less than zero. |
ChartValueRangeRecord(Stream, out Int32)
Read / initialize constructor.
Declaration
public ChartValueRangeRecord(Stream stream, out int itemSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream from which record data should be read. |
System.Int32 | itemSize | Size of read item. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If stream is not specified. |
System.ApplicationException | If stream does not support read or seek operations. |
Fields
DEF_RECORD_SIZE
Record size constant.
Declaration
public const int DEF_RECORD_SIZE = 42
Field Value
Type |
---|
System.Int32 |
Properties
FormatFlags
Format flags. Read-only.
Declaration
public ushort FormatFlags { get; }
Property Value
Type |
---|
System.UInt16 |
IsAutoCross
Automatic category crossing point selected.
Declaration
public bool IsAutoCross { get; set; }
Property Value
Type |
---|
System.Boolean |
IsAutoMajor
Automatic major selected.
Declaration
public bool IsAutoMajor { get; set; }
Property Value
Type |
---|
System.Boolean |
IsAutoMax
Automatic maximum selected.
Declaration
public bool IsAutoMax { get; set; }
Property Value
Type |
---|
System.Boolean |
IsAutoMin
Automatic minimum selected.
Declaration
public bool IsAutoMin { get; set; }
Property Value
Type |
---|
System.Boolean |
IsAutoMinor
Automatic minor selected.
Declaration
public bool IsAutoMinor { get; set; }
Property Value
Type |
---|
System.Boolean |
IsLogScale
Logarithmic scale.
Declaration
public bool IsLogScale { get; set; }
Property Value
Type |
---|
System.Boolean |
IsMaxCross
Category axis to cross at maximum value.
Declaration
public bool IsMaxCross { get; set; }
Property Value
Type |
---|
System.Boolean |
IsReverse
Values in reverse order.
Declaration
public bool IsReverse { get; set; }
Property Value
Type |
---|
System.Boolean |
MaximumRecordSize
Maximum possible size of the record.
Declaration
public override int MaximumRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
MinimumRecordSize
Minimum possible size of the record.
Declaration
public override int MinimumRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
NumCross
Value where category axis crosses.
Declaration
public double NumCross { get; set; }
Property Value
Type |
---|
System.Double |
NumMajor
Value of major increment.
Declaration
public double NumMajor { get; set; }
Property Value
Type |
---|
System.Double |
NumMax
Maximum value on axis.
Declaration
public double NumMax { get; set; }
Property Value
Type |
---|
System.Double |
NumMin
Maximum value on axis.
Declaration
public double NumMin { get; set; }
Property Value
Type |
---|
System.Double |
NumMinor
Value of minor increment.
Declaration
public double NumMinor { get; set; }
Property Value
Type |
---|
System.Double |
Methods
GetStoreSize(ExcelVersion)
Declaration
public override int GetStoreSize(ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ExcelVersion | version |
Returns
Type |
---|
System.Int32 |
Overrides
ParseStructure(DataProvider, Int32, Int32, ExcelVersion)
Parse structure of record. Convert Data buffer to special values according to record specification.
Declaration
public override void ParseStructure(DataProvider provider, int iOffset, int iLength, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset to the record's data. |
System.Int32 | iLength | Length of the record's data. |
ExcelVersion | version | Excel version used for infill. |