Skip to main content

Метод Charts.getChartIndexByDrawingIndex

Метод возвращает индекс диаграммы по индексу отрисовки drawingIndex.

Пример​


Table sheetDocumentPage = document.getBlocks().getTable(0);
if (sheetDocumentPage != null)
{
Charts charts = sheetDocumentPage.getCharts();
Console.WriteLine(charts.getChartIndexByDrawingIndex(0));
}