Public API and Backwards Incompatible Changes in Aspose.Slides for .NET 16.1.0
Contents
[
Hide
]
This page lists all added or removed classes, methods, properties and so on, and other changes introduced with the Aspose.Slides for .NET 16.1.0 API.
Public API Changes
Property RotationAngle has been added to IChartTextBlockFormat and ITextFrameFormat interfaces
Property RotationAngle has been added to interfaces Aspose.Slides.Charts.IChartTextBlockFormat and Aspose.Slides.ITextFrameFormat. It specifies the custom rotation that is being applied to the text within the bounding box.
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);
}