Margins of PdfDocument()

Hi,

I have that issue about the margins of my document. 
Inside of my document, there is a PdfGrid()
The left & right margins are never equals. The left margin is always smaller than the right one.
.
   PdfDocument _iDocDesc = new PdfDocument();
                                /* Set margins */
                                _iDocDesc.PageSettings.Margins.Bottom = 11f;
                                _iDocDesc.PageSettings.Margins.Top = 18f;
                                _iDocDesc.PageSettings.Margins.Left = 22f;
                                _iDocDesc.PageSettings.Margins.Right = 22f;


1 Reply

GM Geetha M Syncfusion Team May 17, 2012 05:39 AM UTC

Hi Fakir,

Thank you for your interest in Syncfusion products.

I am afraid that I was not able to reproduce the problem. I created a simple sample using your code snippet and it generated PDF with equal width for left and right margins. I had placed the sample in the link below. Could you please try it and send me the modified sample if you still see the problem?

Regards

Geetha


PDFMargins_f03ca71d.zip

Loader.
Up arrow icon