Any one tell me How to convert arabic aspx content to pdf document? ..
I need with example....
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ring ZhongRank #6,843 · 255 reputationPosted Dec 29, 2013, 6:02 PM EST
http://pdfapi.codeplex.com
Here is the demo for normal html to pdf using spire.pdf:
static void Main(string[] args)
{
//Create a pdf document.
PdfDocument doc = new PdfDocument();
String url = "http://www.london2012.com/news/articles/paralympic-torch-relay-route-revealed-1258473.html";
doc.LoadFromHTML(url, false, true, true);
//Save pdf file.
doc.SaveToFile("sample.pdf");
doc.Close();
//Launching the Pdf file.
System.Diagnostics.Process.Start("sample.pdf");
}
If convert arabic aspx content to pdf, maybe the font is not supporting Arabic so what you have to do is using a font which support Arabic like tahoma,
here is the relative post for you:
http://geekswithblogs.net/JaydPage/archive/2011/11/02/using-itextsharp-to-correctly-display-hebrew--arabic-text-right.aspx
http://engthunder.wordpress.com/2011/10/03/export-gridview-to-pdf-with-arabic-content-using-itextsharp/
Tony Hammond2 reputationPosted May 14, 2014, 10:39 PM EDT
If part of the ASPX page is an image, then your solution would need to include optical character recognition also.
You can use libraries like iTextSharp or leadtools for the PDF conversion.
Festar6 reputationPosted Sep 15, 2015, 3:27 AM EDT