Posted by a ceTe Software moderator
Hi,
We tested this and are able to render the text without any problem.
Here is the code we used:
Document document = new Document();
String htmlText = @"<html>"+
"<head>"+
"</head>"+
"<body>"+
"<span style=\"font-size: 12pt; font-family:Arial, sans-serif;\">Construction of a new 33,00 sf, three story building with tenants on floors 2 and 3; </span>"+
"</body>"+
"</html>";
HtmlArea htmlArea = new HtmlArea(htmlText, 0, 0, 512, 692);
do
{
Page page1 = new Page();
page1.Elements.Add(htmlArea);
document.Pages.Add(page1);
htmlArea = htmlArea.GetOverflowHtmlArea();
} while (htmlArea != null);
string output = @"C:\Temp\MyDocument.pdf";
document.Draw(output);
Please try the above code sample on your end and see it works for you.
If you continue facing an issue, then please send over the following information to
support@dynamicpdf.com so we can look into it further.
1. Simple code sample which uses static data to recreate the behavior, or you can modify the above code sample to recreate the behavior and send it over to us.
2. Output PDF.
3. Exact version and build number of DynamicPDF Core Suite for .NET product DLL file. You can find this information by right clicking on the DLL file>>Properties>>Details tab>>Product version. Take a screenshot of Details tab and send it over to us.
Thanks,
ceTe Software Support Team