|108341||Apr 15,2013 08:50 AM||Apr 24,2013 12:57 AM||ASP.NET Web Forms (Classic)||3|
I have to create a PDF from url and i am using the code from help document
here is the code://Create a new PDF document. PdfDocument document = new PdfDocument(); //Creates a new page and adds it as the last page of the document. PdfPage page = document.Pages.Add(); //Create a new pdf textweblink annotation PdfTextWebLink webLinkAnnotation = new PdfTextWebLink();
webLinkAnnotation.DrawTextWebLink(page,new PointF(50, 40)); //Add this annotation to a new page.
page.Annotations.Add(webLinkAnnotation);//Save the document to disk.
I am getting an error on line
and the error is "The best overloaded method match for 'Syncfusion.Pdf.Interactive.PdfAnnotationCollection.Add(Syncfusion.Pdf.Interactive.PdfAnnotation)' has some invalid arguments"
Can you please help me resolve this issue?
One more question
document.save() option save the pdf file on the same folder in which i have my c# file, I want to open the save dialogue box and allow user to select the path on his machine to save the pdf
Is it possible in syncfusion?
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.