API Publik dan Perubahan Tidak Kompatibel ke Belakang di Aspose.Slides untuk Java 16.1.0

Perubahan API Publik

Metode getRotationAngle() dan setRotationAngle() telah ditambahkan ke antarmuka IChartTextBlockFormat dan ITextFrameFormat

Metode getRotationAngle() dan setRotationAngle() telah ditambahkan ke antarmuka com.aspose.slides.IChartTextBlockFormat dan com.aspose.slides.ITextFrameFormat. Mereka menyediakan akses ke rotasi khusus yang diterapkan pada teks di dalam kotak pembatas.




Presentation pres = new Presentation();

IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.ClusteredColumn, 50, 50, 500, 300);

IChartSeries series = chart.getChartData().getSeries().get_Item(0);

series.getLabels().getDefaultDataLabelFormat().setShowValue (true);

series.getLabels().getDefaultDataLabelFormat().getTextFormat ().getTextBlockFormat().setRotationAngle(65);

chart.setTitle(true);

chart.getChartTitle().addTextFrameForOverriding("Custom title").getTextFrameFormat().setRotationAngle(-30);

pres.save("out.pptx", SaveFormat.Pptx);