ChartInteriorImpl Class
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. |
Properties
BackgroundColor
Gets or sets the background color of the chart.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type |
---|
System.Drawing.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 |
---|
System.Drawing.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 |
---|
System.Boolean |
UseAutomaticFormat
True to use automatic format. False to use custom format.
Declaration
public bool UseAutomaticFormat { get; set; }
Property Value
Type |
---|
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. |
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. |