Hi,
I am converting from HTML to PDF. It is working fine but in some scenarios it causing some issues. Let me add a screenshot below. I have uploaded HTML and PDF in a Zip Folder. Please let me know why I have these issues. I have following settings for PDF generation.
Margin = new Syncfusion.Pdf.Graphics.PdfMargins { Top = 0, Left = 30, Right = 30, Bottom = 0 },
SplitTextLines = false,
SplitImages = true,
EnableToc = true,
EnableRepeatTableHeader = true,
EnableRepeatTableFooter = true
Thanks Prakash, I noticed that you have change a code of header and footer and I did implement same in my application and it starts working for me. I was also facing same issue extra spaces after image this one also get resolved with that change. So far it is working good for me.
Hi Prakash,
I did tried to generate PDF through your code but it is generating extra page in the PDF. I am attaching code please try and let me know why I am having this issue?
Thanks Prakash,
I did tried with Blink Engine but still generates extra page while creating PDF. I am attaching a Project and Image inside the project which I have used in this Project. Let me know if that helps you.
|
//Set viewport size to adjust content size.
settings.ViewPortSize = new Size(1280, 0); |
Hi Gowthamraj,
Is there any standard to set the ViewPort Size. As I have seen on few forms that somewhere you are suggesting
(1500, 0) and
(800, 0). When I increased x it's PDF size get shrink. So can you please guide what is the standard to follow this size?