I'm having problems getting some simple html to render properly in the PDF. Bullets are bing presented at the bottom of the PDF even though they are in the middle of the content. Also the tag is tabing the text in the document. What am i doing wrong?
The string below is the html:
string sDesc = "
Advising clients on all aspects of educational matters
Education Practice Group advises our public and private clients at all phases of education, from nationally prominent research universities to Massachusetts private schools.
We serve as general counsel to a number of major post-secondary and secondary institutions, providing advice on the full range of issues facing universities, colleges and schools. These matters include:
- Institutional governance
- Student affairs
- Faculty and staff employment
- Facilities
- Regulatory compliance
- Intellectual property
- Risk management
- Financial affairs
- Litigation in a variety of disciplines
More text.
More text.
More text.
More text.
";
Here is the code to populate the PDF:
Pdf pdf1 = new Pdf();
Section sec1 = pdf1.Sections.Add();
Text titleText = new Text(sDesc, style);
titleText.IsHtmlTagSupported = true;
sec1.Paragraphs.Add(titleText);
pdf1.Save(pdfTitle, SaveType.OpenInAcrobat, response);