Free Support Forum - aspose.com

Apose.Cells - Margin

Hi Folks,

When I am trying to set the right margin for a XLS document and converting to PDF, the left margin assume the right margin.
I am trying to set a big right margin, because I am printing on landscape mode, and I have a header on page, with the company logo.

I am setting this configuration:

page.setTopMargin( 3.2 );
page.setLeftMargin( .51 );
page.setBottomMargin( 2 );
page.setRightMargin( 10 );

Attached you can find the generated PDF.

Thanks,
Leandro.

Hi,

Thanks for your posting and using Aspose.Cells for Java.

Please provide us your source file and the sample code replicating your issue. Please also provide us your expected output pdf.

We will soon look into your issue and help/advise you asap.