Class Chart3DRecord
This record defines a 3D chart group and also contains generic formatting information.
Inheritance
Namespace: Syncfusion.XlsIO.Parser.Biff_Records.Charts
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
[Biff]
public class Chart3DRecord : BiffRecordRaw, ICloneable, IBiffStorage
Constructors
Chart3DRecord()
Default constructor, sets all fields with default values.
Declaration
public Chart3DRecord()
Chart3DRecord(Int32)
Reserved for record's internal data array.
Declaration
public Chart3DRecord(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. |
Chart3DRecord(Stream, out Int32)
Read / initialize constructor.
Declaration
public Chart3DRecord(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. |
Properties
Depth
Depth of points relative to width.
Declaration
public ushort Depth { get; set; }
Property Value
Type |
---|
System.UInt16 |
DistanceFromEye
Distance from eye to chart (0 to 100).
Declaration
public ushort DistanceFromEye { get; set; }
Property Value
Type |
---|
System.UInt16 |
ElevationAngle
Elevation angle (�90 to +90 degrees).
Declaration
public short ElevationAngle { get; set; }
Property Value
Type |
---|
System.Int16 |
Height
Height of plot volume relative to width and depth.
Declaration
public ushort Height { get; set; }
Property Value
Type |
---|
System.UInt16 |
Is2DWalls
Use 2D walls and gridlines.
Declaration
public bool Is2DWalls { get; set; }
Property Value
Type |
---|
System.Boolean |
IsAutoScaled
Use auto scaling.
Declaration
public bool IsAutoScaled { get; set; }
Property Value
Type |
---|
System.Boolean |
IsClustered
3D columns are clustered or stacked.
Declaration
public bool IsClustered { get; set; }
Property Value
Type |
---|
System.Boolean |
IsDefaultElevation
Indicates whether elevation has default value.
Declaration
public bool IsDefaultElevation { get; set; }
Property Value
Type |
---|
System.Boolean |
IsDefaultRotation
Indicates whether rotation has default value.
Declaration
public bool IsDefaultRotation { get; set; }
Property Value
Type |
---|
System.Boolean |
IsPerspective
Whether to use perspective transform.
Declaration
public bool IsPerspective { get; set; }
Property Value
Type |
---|
System.Boolean |
Options
Holder of flags.
Declaration
public ushort Options { get; }
Property Value
Type |
---|
System.UInt16 |
RotationAngle
Rotation angle (0 to 360 degrees).
Declaration
public ushort RotationAngle { get; set; }
Property Value
Type |
---|
System.UInt16 |
SeriesSpace
Space between series.
Declaration
public ushort SeriesSpace { get; set; }
Property Value
Type |
---|
System.UInt16 |
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. |
Overrides
Operators
Equality(Chart3DRecord, Chart3DRecord)
Opertaor to check if the record are equal
Declaration
public static bool operator ==(Chart3DRecord chart3D, Chart3DRecord chart3D2)
Parameters
Type | Name | Description |
---|---|---|
Chart3DRecord | chart3D | |
Chart3DRecord | chart3D2 |
Returns
Type |
---|
System.Boolean |
Inequality(Chart3DRecord, Chart3DRecord)
Checks and returns if the records are not equal
Declaration
public static bool operator !=(Chart3DRecord chart3D, Chart3DRecord chart3D2)
Parameters
Type | Name | Description |
---|---|---|
Chart3DRecord | chart3D | |
Chart3DRecord | chart3D2 |
Returns
Type |
---|
System.Boolean |