We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PageSetup class cannot able to find IsHFAlignMargins property in Aspose.Cells Version 4.4.0.0

Hi,

am using Aspose.Cells Version 4.4.0.0.

but using the PageSetup Class: i can able to set the following propertis like:
PageSetup pageSetup = sheet.PageSetup;

pageSetup.TopMarginInch = 1.0;
pageSetup.BottomMarginInch = 0.75;
pageSetup.FooterMarginInch = 0.5;
pageSetup.LeftMarginInch = 1.0;
pageSetup.RightMarginInch = 1.0;

but i don’t able to find the property IsHFAlignMargins which i need tobe set to true…

Please suggest me

Thanks


Hi,

As you are using some older version of the product, so the API might not be there in the version.
Please download and try latest version, I have confirmed the API is present in it:
http://www.aspose.com/community/files/51/.net-components/aspose.cells-for-.net/entry248967.aspx

Thank you.