Are nested tables supported when saving to a PDF format?
The following code generates an error:
string err;
string asposeHTML = "
|
Aspose.Words.Document asposeDoc = new Aspose.Words.Document();
Aspose.Words.DocumentBuilder asposeDb = new Aspose.Words.DocumentBuilder(asposeDoc);
asposeDb.InsertHtml(asposeHTML);
System.IO.MemoryStream asposeStream = new MemoryStream();
try
{
//blows up here
asposeDoc.Save(asposeStream, Aspose.Words.SaveFormat.FormatAsposePdf);
}
catch (Exception ex)
{
err = ex.Message;
}
finally
{
asposeStream.Close();
}
The above code works without the nested tables.