Hi All,
I have 5 pages of html code, but while converting to pdf i am geeting only one page in pdf format.
Below Code i write:
string inFile = desPath +"//" + tpObj.Job_ID + "-Validation Analysis.html";
string outFile = desPath + "//" + tpObj.Job_ID + "-Validation Analysis.pdf";
Aspose.Pdf.HtmlLoadOptions options = new Aspose.Pdf.HtmlLoadOptions(Path.GetDirectoryName(inFile));
options.IsEmbedFonts = false;
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(inFile,options);
pdfDocument.Save(outFile);
return tpObj.Job_ID + "-Validation Analysis.pdf";