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. Image for the cookie policy date
close icon

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

Hello,

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.

AddBookmark(doc);

private void AddBookmark(PdfDocument document)

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


2 Replies

PS Prakash Sinha 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



AD Administrator Syncfusion Team 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:
http://websamples.syncfusion.com/samples/PDF.Web/6.1.0.34/F72669/main.htm

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.

Regards,
G.Yavana



Loader.
Live Chat Icon For mobile
Up arrow icon