Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

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: 69
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: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed Jun 02, 2021 9:16 am

Thanks Brian

majeed_s
 
Posts: 69
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: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.Presentation