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

cannot convert from ''Syncfusion.Pdf.PdfDocument'' to ''Syncfusion.Pdf.PDFDocument''

Thread ID:





72669 Mar 31,2008 10:41 AM UTC Apr 1,2008 11:31 AM UTC ASP.NET Web Forms (Classic) 2
Tags: PDF
Prakash Sinha
Asked On March 31, 2008 10:41 AM UTC


I've created pdf document by converting HTML to PDF.

PDFDocument doc = new PDFDocument();
HtmlConverter html = new HtmlConverter();
bmp = html.ConvertToImage(createPDFUrl, ImageType.Bitmap)
doc.LastPage.Graphics.DrawImage(PointF.Empty, bmp, dest, properties);

Now I want to Add BookMarks.


private void AddBookmark(PdfDocument document)

But it gives Error
The best overloaded method match for AddBookmark(Syncfusion.Pdf.PdfDocument)' has some invalid arguments

Prakash Sinha
Replied On March 31, 2008 10:46 AM UTC

Sorry, I forgot to include product and VS.net versions.

I'm using Licensed BackOffice v6.1.0.34

VS.net 2005 C# in ASP.net Web Application

Administrator [Syncfusion]
Replied On April 1, 2008 11:31 AM UTC

Hi Prakash,

Thank you for your interest in Syncfusion products.

I am afraid that I was not able to reproduce the issue that you mentioned here. I have created a simple sample and tested this issue in the following environment windows xp with service pack2, Vs2005, .Netframework 2.0, v6.1.0.34, Acrobat Reader 8.0 But it is not reproduced.

Please refer the sample in the below link:

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?

Also please provide your system details.



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