Class ChartInteriorImpl
Represents chart interior.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Charts
Assembly: Syncfusion.XlsIO.Base.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. |
System.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. |
System.Object | parent | Represents parent object. |
ChartAreaFormatRecord | area | Represents area record. |
ChartInteriorImpl(IApplication, Object, IList<BiffRecordRaw>, ref Int32)
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. |
System.Object | parent | Represents parent object. |
System.Collections.Generic.IList<Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw> | data | Represents record storage. |
System.Int32 | 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 | Description |
---|---|
System.Drawing.Color |
BackgroundColorIndex
Gets or sets the index of background color in ExcelKnownColors.
Declaration
public ExcelKnownColors BackgroundColorIndex { get; set; }
Property Value
Type | Description |
---|---|
ExcelKnownColors |
BackgroundColorObject
Background color (RGB).
Declaration
public ColorObject BackgroundColorObject { get; }
Property Value
Type | Description |
---|---|
ColorObject |
ForegroundColor
Gets or sets the foreground color of the chart.
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
ForegroundColorIndex
Gets or sets the index of foreground color in ExcelKnownColors.
Declaration
public ExcelKnownColors ForegroundColorIndex { get; set; }
Property Value
Type | Description |
---|---|
ExcelKnownColors |
ForegroundColorObject
Foreground color (RGB).
Declaration
public ColorObject ForegroundColorObject { get; }
Property Value
Type | Description |
---|---|
ColorObject |
Pattern
Gets or sets the area pattern.
Declaration
public ExcelPattern Pattern { get; set; }
Property Value
Type | Description |
---|---|
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 | Description |
---|---|
System.Boolean |
UseAutomaticFormat
True to use automatic format. False to use custom format.
Declaration
public bool UseAutomaticFormat { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Clone(Object)
Clones current object.
Declaration
public ChartInteriorImpl Clone(object parent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | Represents parent object. |
Returns
Type | Description |
---|---|
ChartInteriorImpl | Returns cloned object. |
InitForFrameFormat(Boolean, Boolean, Boolean)
Initialize interior for frame format.
Declaration
public void InitForFrameFormat(bool bIsAutoSize, bool bIs3DChart, bool bIsInteriorGray)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bIsAutoSize | Indicate is autosize interior. |
System.Boolean | bIs3DChart | Represents is 3d chart. |
System.Boolean | bIsInteriorGray | Indicates is interior is gray. |
InitForFrameFormat(Boolean, Boolean, Boolean, Boolean)
Initialize interior for frame format.
Declaration
public void InitForFrameFormat(bool bIsAutoSize, bool bIs3DChart, bool bIsInteriorGray, bool bIsGray50)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bIsAutoSize | Indicate is autosize interior. |
System.Boolean | bIs3DChart | Represents is 3d chart. |
System.Boolean | bIsInteriorGray | Indicates is interior is gray. |
System.Boolean | bIsGray50 | Indicates is default color is gray_50. |
Parse(IList<BiffRecordRaw>, ref Int32)
Parsing current object.
Declaration
public void Parse(IList<BiffRecordRaw> data, ref int iPos)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw> | data | Records offset. |
System.Int32 | iPos | Position in offset. |
Serialize(IList<IBiffStorage>)
Serialize current object.
Declaration
[CLSCompliant(false)]
public void Serialize(IList<IBiffStorage> records)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<IBiffStorage> | records | Records offset. |
Explicit Interface Implementations
ICloneParent.Clone(Object)
Makes copy of the current object and update its parent.
Declaration
object ICloneParent.Clone(object parent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | Represents Parent object to set. |
Returns
Type | Description |
---|---|
System.Object | Cloned object. |