Pivot table C# code

A

Ashok

I am using Pivot table in Windows application and got VB code
pt.AutoFit = false
pt.Width = "100%"
pt.Height = "65%"

How can I do same in C# Pivottable Width and Height are INT type

I am using this but like to change to in %
axPivotTable1.AutoFit = false;
axPivotTable1.Width = 2500;
axPivotTable1.Height = 930;

Thank you - Ashok
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top