API publique et changements incompatibles rétroactifs dans Aspose.Slides pour .NET 16.1.0

Modifications de l’API publique

La propriété RotationAngle a été ajoutée aux interfaces IChartTextBlockFormat et ITextFrameFormat

La propriété RotationAngle a été ajoutée aux interfaces Aspose.Slides.Charts.IChartTextBlockFormat et Aspose.Slides.ITextFrameFormat.
Elle spécifie la rotation personnalisée qui est appliquée au texte à l’intérieur de la boîte de délimitation.


 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 déplacé de Aspose.Slides.Odp vers l’espace de noms Aspose.Slides