Class ChartAttachedLabelRecord
The ATTACHEDLABEL record defines the data label type. The ATTACHEDLABEL record applies to the label data identified in the associated DATAFORMAT record.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records.Charts
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[CLSCompliant(false)]
[Biff(TBIFFRecord.ChartAttachedLabel)]
public class ChartAttachedLabelRecord : BiffRecordRaw, ICloneable, IBiffStorage
Constructors
ChartAttachedLabelRecord()
Default constructor, initializes all fields with default values.
Declaration
public ChartAttachedLabelRecord()
ChartAttachedLabelRecord(Int32)
Reserved for record's internal data array.
Declaration
public ChartAttachedLabelRecord(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. |
ChartAttachedLabelRecord(Stream, out Int32)
Read / initialize constructor.
Declaration
public ChartAttachedLabelRecord(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
Options
Holder of all record flags... changes of record setting does not influence on this property value till serialization.
Declaration
public ushort Options { get; }
Property Value
Type |
---|
System.UInt16 |
ShowActiveValue
Declaration
public bool ShowActiveValue { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowBubble
Show bubble sizes.
Declaration
public bool ShowBubble { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowCategoryLabel
Show category label.
Declaration
public bool ShowCategoryLabel { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowPieCategoryLabel
Show category label and value as a percentage (pie charts only).
Declaration
public bool ShowPieCategoryLabel { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowPieInPercents
Show value as a percent of the total. This bit applies only to pie charts.
Declaration
public bool ShowPieInPercents { get; set; }
Property Value
Type |
---|
System.Boolean |
SmoothLine
Show smoothed line.
Declaration
public bool SmoothLine { get; set; }
Property Value
Type |
---|
System.Boolean |
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. |