ShapeList
InsertChart Method
|
Add a new chart to collection.
Namespace:
Spire.Presentation.Collections
Assembly:
Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public void InsertChart(
int index,
ChartType type,
RectangleF rectangle,
bool init = false
)
Public Sub InsertChart (
index As Integer,
type As ChartType,
rectangle As RectangleF,
Optional init As Boolean = false
)
public:
void InsertChart(
int index,
ChartType type,
RectangleF rectangle,
bool init = false
)
member InsertChart :
index : int *
type : ChartType *
rectangle : RectangleF *
?init : bool
(* Defaults:
let _init = defaultArg init false
*)
-> unit
Parameters
-
index
-
Type:
System
Int32
Index should be inserted.
-
type
-
Type:
Spire.Presentation.Charts
ChartType
Chart type
-
rectangle
-
Type:
System.Drawing
RectangleF
Rectangle should inserted.
-
init
(Optional)
-
Type:
System
Boolean
See Also