Aspose::Words::Drawing::Charts::ChartDataPointCollection Class Reference

Represents collection of a Aspose::Words::Drawing::Charts::ChartDataPoint. More...

#include "Aspose.Words.Cpp/Model/Drawing/Charts/ChartDataPointCollection.h"

Inherits IEnumerable< System::SharedPtr< Aspose::Words::Drawing::Charts::ChartDataPoint > >.

Public Member Functions

int32_t get_Count ()
 Returns the number of Aspose::Words::Drawing::Charts::ChartDataPoint in this collection. More...
 
System::SharedPtr< Aspose::Words::Drawing::Charts::ChartDataPointidx_get (int32_t index)
 Returns Aspose::Words::Drawing::Charts::ChartDataPoint for the specified index. If there is no ChartDataPoint for the specified index, returns default series ChartDataPoint. More...
 
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< Aspose::Words::Drawing::Charts::ChartDataPoint > > > GetEnumerator ()
 Returns an enumerator object. More...
 
System::SharedPtr< Aspose::Words::Drawing::Charts::ChartDataPointAdd (int32_t index)
 Adds new Aspose::Words::Drawing::Charts::ChartDataPoint at the specified index. More...
 
void RemoveAt (int32_t index)
 Removes a Aspose::Words::Drawing::Charts::ChartDataPoint at the specified index. More...
 
void Clear ()
 Removes all Aspose::Words::Drawing::Charts::ChartDataPoint from this collection. More...
 

Detailed Description

Member Function Documentation

◆ Add()

System::SharedPtr<Aspose::Words::Drawing::Charts::ChartDataPoint> Aspose::Words::Drawing::Charts::ChartDataPointCollection::Add ( int32_t  index)

Adds new Aspose::Words::Drawing::Charts::ChartDataPoint at the specified index.

Parameters
indexTarget data point index.

◆ Clear()

void Aspose::Words::Drawing::Charts::ChartDataPointCollection::Clear ( )

Removes all Aspose::Words::Drawing::Charts::ChartDataPoint from this collection.

◆ get_Count()

int32_t Aspose::Words::Drawing::Charts::ChartDataPointCollection::get_Count ( )

Returns the number of Aspose::Words::Drawing::Charts::ChartDataPoint in this collection.

◆ GetEnumerator()

System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<Aspose::Words::Drawing::Charts::ChartDataPoint> > > Aspose::Words::Drawing::Charts::ChartDataPointCollection::GetEnumerator ( )

Returns an enumerator object.

◆ idx_get()

System::SharedPtr<Aspose::Words::Drawing::Charts::ChartDataPoint> Aspose::Words::Drawing::Charts::ChartDataPointCollection::idx_get ( int32_t  index)

Returns Aspose::Words::Drawing::Charts::ChartDataPoint for the specified index. If there is no ChartDataPoint for the specified index, returns default series ChartDataPoint.

◆ RemoveAt()

void Aspose::Words::Drawing::Charts::ChartDataPointCollection::RemoveAt ( int32_t  index)

Removes a Aspose::Words::Drawing::Charts::ChartDataPoint at the specified index.

Parameters
indexThe zero-based index of the bookmark to remove.