We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Margins of PdfDocument()

Thread ID:

Created:

Updated:

Platform:

Replies:

103609 May 16,2012 09:14 AM May 17,2012 01:39 AM WPF 1
loading
Tags: PDF
Fakir
Asked On May 16, 2012 09:14 AM

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;


Geetha M [Syncfusion]
Replied On May 17, 2012 01:39 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;