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.

When converting .Html to Pdf exact page formats and fonts need to applied.

Thread ID:





78622 Dec 20,2008 01:08 AM Jan 12,2009 10:25 PM Windows Forms 8
Tags: PDF
M. Mahesh
Asked On December 20, 2008 01:08 AM

I am using syncfusion Essential PDF to convert
.Html to PDF.Program in samles working fine to convert .Html to PDF but it is not applying
Page Fromats,column widths,font.The requirement is i need apply same page formats,font.Size,font.Family,coulm witdh colum Height to PDF file.Please suggest me is there any way to apply.

Geetha M [Syncfusion]
Replied On December 22, 2008 04:47 AM

Hi Mahesh,

Thank you for your interest in Syncfusion products.

I was not able to reproduce the above mentioned issue. I tried to convert the html page and I was able to convert it successfully. Could you please send me the html page that is not working and the current version of Essential PDF running in your machine?


Replied On December 23, 2008 11:00 PM

Hi Geetha,

Please save the attached document as .html than convert it to .pdf.Please compare the
.Html and .Pdf files.I hope you norice the

Regarding Versions
I.E 6.1 service pack 1



Geetha M [Syncfusion]
Replied On December 23, 2008 11:42 PM

Hi Mahesh,

Thank you for the details.

I was able to see the problem with our legacy version of PDF that is But this issue is not reproducible in our new PDF. Could you please consider upgrading to the latest version?

You can get our latest version from the link below:

You can check the output pdf file here.


Replied On December 25, 2008 11:36 PM

Hi Geetha,

May you attach the sample code.For the .Html to Pdf,I am trying in new version but unable to produce .pdf with exact alignments,formats
and font of the Html document.

Geetha M [Syncfusion]
Replied On December 26, 2008 07:48 AM

Hi Mahesh,

Please refer to the sample in the below link:

Let me know if you have any questions.


Replied On December 29, 2008 12:38 AM

Hi Geetha,

Its throwing exception Page can not be displayed when HtmlToPDf link is clicked.

Thanks and Regards

Geetha M [Syncfusion]
Replied On December 29, 2008 07:40 AM

Hi Mahesh,

Sorry for the broken link.

Please try the below link:


Replied On January 12, 2009 10:25 PM

Hi Geetha,

Since I could able to achieve the goal with html to pdf. I have created my own document with the formats according to requirement.Bu i am facing problem to create multiple pages dynamically.I have already posted three messages but I did not receievd any reply

I need to create a Pdf document with header,footers and text, should
be spanned to multiple pages when text does not fit in page and also footer need to be displayed
on every page.

1. when text size increases then text is not wrapping to nextline, instead it is displaying
half of the text.
What should I do, text should be fit in same line or to naxt line, and do not change the font size?

2.I tried to create multiple pages when text exceeds first page,
how can I create next page and draw text on that page?

I have gone through the syncusion documentation but, I couldn't solve above two problems.

how to apply PDFHorizontal.Right,left center using PDFStringFormat or Is there any Format to apply the Horizontal Alignments

Please find the attached document for further information.

I am using Syncfusion version.

Thanks and Regards



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.