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
 
Top