com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IChartDataWorksheetCollection

  • All Superinterfaces:
    com.aspose.ms.System.Collections.ICollection<IChartDataWorksheet>, com.aspose.ms.System.Collections.IEnumerable<IChartDataWorksheet>, IGenericCollection<IChartDataWorksheet>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IChartDataWorksheet>, java.lang.Iterable<IChartDataWorksheet>
    All Known Implementing Classes:
    ChartDataWorksheetCollection


    public interface IChartDataWorksheetCollection
    extends IGenericCollection<IChartDataWorksheet>

    Represents the collection of worksheets of chart data workbook.


     Example:
     
     Presentation pres = new Presentation();
     try {
         IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.Pie, 50, 50, 400, 500);
         IChartDataWorkbook workbook =  chart.getChartData().getChartDataWorkbook();
         for (IChartDataWorksheet worksheet : workbook.getWorksheets())
         {
             String worksheetName = worksheet.getName();
         }
     } finally {
         if (pres != null) pres.dispose();
     }
     
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      IChartDataWorksheet get_Item(int index)
      Returns the worksheet by index.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface com.aspose.ms.System.Collections.ICollection

        copyTo, getSyncRoot, isSynchronized, size
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • get_Item

        IChartDataWorksheet get_Item(int index)

        Returns the worksheet by index.

        Parameters:
        index - Index of the worksheet in the collection.
        Returns:
        Instance of the IChartDataWorksheet.