Class ChartInteriorImpl
Represents chart interior.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Charts
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class ChartInteriorImpl : CommonObject, IParentApplication, IDisposable, IChartInterior, ICloneParent
Constructors
ChartInteriorImpl(IApplication, object)
Creates chart interior instance.
Declaration
public ChartInteriorImpl(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Represents current application. |
| object | parent | Represents parent object. |
ChartInteriorImpl(IApplication, object, ChartAreaFormatRecord)
Creates chart interior instance.
Declaration
[CLSCompliant(false)]
public ChartInteriorImpl(IApplication application, object parent, ChartAreaFormatRecord area)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Represents current application. |
| object | parent | Represents parent object. |
| ChartAreaFormatRecord | area | Represents area record. |
ChartInteriorImpl(IApplication, object, IList<BiffRecordRaw>, ref int)
Creates new instance of class.
Declaration
public ChartInteriorImpl(IApplication application, object parent, IList<BiffRecordRaw> data, ref int iPos)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Represents current application. |
| object | parent | Represents parent object. |
| IList<BiffRecordRaw> | data | Represents record storage. |
| int | iPos | Represents position in storage. |
Properties
BackgroundColor
Gets or sets the background color of the chart.
Declaration
public Color BackgroundColor { get; set; }
Property Value
| Type |
|---|
| Color |
BackgroundColorIndex
Gets or sets the index of background color in ExcelKnownColors.
Declaration
public ExcelKnownColors BackgroundColorIndex { get; set; }
Property Value
| Type |
|---|
| ExcelKnownColors |
BackgroundColorObject
Background color (RGB).
Declaration
public ColorObject BackgroundColorObject { get; }
Property Value
| Type |
|---|
| ColorObject |
ForegroundColor
Gets or sets the foreground color of the chart.
Declaration
public Color ForegroundColor { get; set; }
Property Value
| Type |
|---|
| Color |
ForegroundColorIndex
Gets or sets the index of foreground color in ExcelKnownColors.
Declaration
public ExcelKnownColors ForegroundColorIndex { get; set; }
Property Value
| Type |
|---|
| ExcelKnownColors |
ForegroundColorObject
Foreground color (RGB).
Declaration
public ColorObject ForegroundColorObject { get; }
Property Value
| Type |
|---|
| ColorObject |
Pattern
Gets or sets the area pattern.
Declaration
public ExcelPattern Pattern { get; set; }
Property Value
| Type |
|---|
| ExcelPattern |
SwapColorsOnNegative
True if foreground and background colors are swapped when the data value is negative. otherwise False.
Declaration
public bool SwapColorsOnNegative { get; set; }
Property Value
| Type |
|---|
| bool |
UseAutomaticFormat
True to use automatic format. False to use custom format.
Declaration
public bool UseAutomaticFormat { get; set; }
Property Value
| Type |
|---|
| bool |
Methods
Clone(object)
Clones current object.
Declaration
public ChartInteriorImpl Clone(object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| object | parent | Represents parent object. |
Returns
| Type | Description |
|---|---|
| ChartInteriorImpl | Returns cloned object. |
InitForFrameFormat(bool, bool, bool)
Initialize interior for frame format.
Declaration
public void InitForFrameFormat(bool bIsAutoSize, bool bIs3DChart, bool bIsInteriorGray)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | bIsAutoSize | Indicate is autosize interior. |
| bool | bIs3DChart | Represents is 3d chart. |
| bool | bIsInteriorGray | Indicates is interior is gray. |
InitForFrameFormat(bool, bool, bool, bool)
Initialize interior for frame format.
Declaration
public void InitForFrameFormat(bool bIsAutoSize, bool bIs3DChart, bool bIsInteriorGray, bool bIsGray50)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | bIsAutoSize | Indicate is autosize interior. |
| bool | bIs3DChart | Represents is 3d chart. |
| bool | bIsInteriorGray | Indicates is interior is gray. |
| bool | bIsGray50 | Indicates is default color is gray_50. |
Parse(IList<BiffRecordRaw>, ref int)
Parsing current object.
Declaration
public void Parse(IList<BiffRecordRaw> data, ref int iPos)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<BiffRecordRaw> | data | Records offset. |
| int | iPos | Position in offset. |
Serialize(IList<IBiffStorage>)
Serialize current object.
Declaration
[CLSCompliant(false)]
public void Serialize(IList<IBiffStorage> records)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<IBiffStorage> | records | Records offset. |