ChartInterior Class |
Namespace: Spire.Xls.Charts
The ChartInterior type exposes the following members.
Name | Description | |
---|---|---|
![]() |
BackgroundColor |
Background color.
(Inherited from
XlsChartInterior
.)
|
![]() |
BackgroundColorObject |
Background color (RGB).
(Inherited from
XlsChartInterior
.)
|
![]() |
BackgroundKnownColor |
Background excel color.
(Inherited from
XlsChartInterior
.)
|
![]() |
ForegroundColor |
Foreground color.
(Inherited from
XlsChartInterior
.)
|
![]() |
ForegroundColorObject |
Foreground color (RGB).
(Inherited from
XlsChartInterior
.)
|
![]() |
ForegroundKnownColor |
Foreground excel color.
(Inherited from
XlsChartInterior
.)
|
![]() |
Parent |
Reference to Parent object. Read-only.
(Inherited from
XlsObject
.)
|
![]() ![]() |
Pattern |
Area pattern.
(Inherited from
XlsChartInterior
.)
![]()
The following code illustrates the use of Pattern property:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Create chart and set range</para><para>IChart chart = worksheet.Charts.Add();</para><para>chart.DataRange = worksheet.Range["B2:C6"];</para><para>//Set chart type</para><para>chart.ChartType = ExcelChartType.Cone3DClustered;</para><para>//Set the pattern of the chart</para><para>chart.ChartArea.Interior.Pattern = ExcelPatternType.Angle;</para><para>//Save to file</para><para>workbook.SaveToFile("Chart.xlsx");</para>
|
![]() |
ReferenceCount |
Get quantity of instance references.
(Inherited from
XlsObject
.)
|
![]() |
SwapColorsOnNegative |
Foreground and background are swapped when the data value is negative.
(Inherited from
XlsChartInterior
.)
|
![]() |
UseDefaultFormat |
Indicates whether use default format.
(Inherited from
XlsChartInterior
.)
|
Name | Description | |
---|---|---|
![]() |
AddReference |
Increase the quantity of reference. User must use this method when
new wrapper on object is created or reference on object stored.
(Inherited from
XlsObject
.)
|
![]() |
CheckDisposed |
Checks whether object was disposed and throws exception if it was.
(Inherited from
XlsObject
.)
|
![]() |
Clone(Object) |
Creates a deep copy of the XlsChartInterior object with the specified parent.
(Inherited from
XlsChartInterior
.)
|
![]() |
Clone(Object, Boolean) |
Clones current object.
(Inherited from
XlsChartInterior
.)
|
![]() |
Dispose |
Dispose object and free resources.
(Inherited from
XlsObject
.)
|
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
![]() |
Finalize |
Destructor. Call dispose method of current object.
(Inherited from
XlsObject
.)
|
![]() |
FindParent(Type) |
This method is used to find parent with specific type.
(Inherited from
XlsObject
.)
|
![]() |
FindParent( Type ) |
Find parent of object.
(Inherited from
XlsObject
.)
|
![]() |
FindParent(Type, Boolean) |
This method is used to find parent with specific type.
(Inherited from
XlsObject
.)
|
![]() |
FindParents |
Finds parent objects.
(Inherited from
XlsObject
.)
|
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
![]() |
InitForFrameFormat(Boolean, Boolean, Boolean) |
Obsolete.
Initializes the frame format with specified parameters.
(Inherited from
XlsChartInterior
.)
|
![]() |
InitForFrameFormat(Boolean, Boolean, Boolean, Boolean) |
Obsolete.
Initialize interior for frame format.
(Inherited from
XlsChartInterior
.)
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() |
OnDispose |
Method which can be overriden by users to take any specific actions when
object is disposed.
(Inherited from
XlsObject
.)
|
![]() |
ReleaseReference |
Decrease quantity of Reference. User must call this method
when freeing resources.
(Inherited from
XlsObject
.)
|
![]() |
SetParent |
Sets parent of the object.
(Inherited from
XlsObject
.)
|
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
Name | Description | |
---|---|---|
![]() |
m_bIsDisposed |
Flag which indicates if the object was disposed or not.
(Inherited from
XlsObject
.)
|