Aspose.Slides for Java 16.1.0의 공개 API 및 이전 버전과 호환되지 않는 변경 사항
Contents
[
Hide
]
공개 API 변경
IChartTextBlockFormat 및 ITextFrameFormat 인터페이스에 getRotationAngle() 및 setRotationAngle() 메서드가 추가되었습니다
com.aspose.slides.IChartTextBlockFormat 및 com.aspose.slides.ITextFrameFormat 인터페이스에 getRotationAngle() 및 setRotationAngle() 메서드가 추가되었습니다. 이 메서드는 경계 상자 내 텍스트에 적용되는 사용자 지정 회전에 접근할 수 있게 합니다.
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);