Aspose.Slides for PHP via Java 15.8.0 的公共 API 和不兼容变更
Contents
[
Hide
]
公共 API 变更
方法 getDoughnutHoleSize() 和 setDoughnutHoleSize(byte) 被添加到 IChartSeries 和 ChartSeries
指定甜甜圈图中孔的大小。
$pres = new Presentation();
$chart = $pres->getSlides()->get_Item(0)->getShapes()->addChart(ChartType::Doughnut, 50, 50, 400, 400);
$chart->getChartData()->getSeriesGroups()->get_Item(0)->setDoughnutHoleSize(90);
$pres->save("ChartSeries.API.DoughnutHoleSize.pptx", SaveFormat::Pptx);