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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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


Prakash Sinha
Replied On March 31, 2008 06:46 AM

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 07:31 AM

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



CONFIRMATION

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.

;