Hi,
I am usin BindHtml() method to generate pdf doc.
I have the entire html in a string.I am converting the string to stream and passing it thestream to BindHtml() method.
The code i wrote is:
string strHtml="
UPMC HEALTH PLAN
ARICEPT/NAMENDA PRIOR AUTHORIZATION FORM |
Stream s = new MemoryStream(System.Text.ASCIIEncoding.Default.GetBytes(strHtml));
objPdf.BindHTML(s);
objPdf.Save(@"c:\CCForm.pdf");
While the code does not give any error but it generates a pdf which is empty
Please help asap.
Thanks