Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents from any .NET(C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Tue Jun 01, 2021 10:33 am

Does spire have the ability to read/extract if the `Categories in reverse order` is enabled or disabled for a given chart type?

https://user-images.githubusercontent.c ... 94a958.png

majeed_s
 
Posts: 18
Joined: Thu Mar 25, 2021 4:13 pm

Wed Jun 02, 2021 6:10 am

Hello,

Thanks for your inquiry.
Yes, our Spire.Presentation support it, please refer to the following code.
Code: Select all
            Presentation ppt = new Presentation();
            ppt.LoadFromFile(@"ChartSample2.pptx");
            IChart Chart = ppt.Slides[0].Shapes[0] as IChart;
            bool isValueReversed = Chart.PrimaryValueAxis.IsReversed;
            bool isReversed = Chart.PrimaryCategoryAxis.IsReversed;

If there are any other questions related to our products, just feel free to contact us.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1252
Joined: Mon Oct 19, 2020 3:04 am

Wed Jun 02, 2021 9:16 am

Thanks Brian

majeed_s
 
Posts: 18
Joined: Thu Mar 25, 2021 4:13 pm

Thu Jun 03, 2021 1:09 am

You are welcome.
If you encounter any issues related to our products in the future, please feel free to contact us.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1252
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.Presentation