Aspose.Slides for .NET 16.1.0 の公開 API と後方互換性のない変更

パブリック API の変更

IChartTextBlockFormat と ITextFrameFormat インターフェイスに Property RotationAngle が追加されました

Property RotationAngle が Aspose.Slides.Charts.IChartTextBlockFormat と Aspose.Slides.ITextFrameFormat インターフェイスに追加されました。
このプロパティは、バウンディング ボックス内のテキストに適用されるカスタム回転角度を指定します。


 using (Presentation pres = new Presentation())

{

IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.ClusteredColumn, 50, 50, 500, 300);

IChartSeries series = chart.ChartData.Series[0];

series.Labels.DefaultDataLabelFormat.ShowValue = true;

series.Labels.DefaultDataLabelFormat.TextFormat.TextBlockFormat.RotationAngle = 65;

chart.HasTitle = true;

chart.ChartTitle.AddTextFrameForOverriding("Custom title").TextFrameFormat.RotationAngle = -30;

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

}


OdpException が Aspose.Slides.Odp から Aspose.Slides 名前空間へ移動しました