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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





78622 Dec 20,2008 06:08 AM UTC Jan 13,2009 03:25 AM UTC WinForms 8
Tags: PDF
M. Mahesh
Asked On December 20, 2008 06:08 AM UTC

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 09:47 AM UTC

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 24, 2008 04:00 AM UTC

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 24, 2008 04:42 AM UTC

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 26, 2008 04:36 AM UTC

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 12:48 PM UTC

Hi Mahesh,

Please refer to the sample in the below link:

Let me know if you have any questions.


Replied On December 29, 2008 05:38 AM UTC

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 12:40 PM UTC

Hi Mahesh,

Sorry for the broken link.

Please try the below link:


Replied On January 13, 2009 03:25 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon