If I use a standard A4 page size:
page.PageInfo = new Aspose.Pdf.PageInfo
{
Width = Aspose.Pdf.PageSize.A4.Width,
Height = Aspose.Pdf.PageSize.A4.Height,
};
the height is 842. So you would expect a margin of 200 on a table cell to be about a quarter of the page height, yet its actually rendering halfway down the page. Is the Margin on some different scale to the page? If so how can I convert between margin and page units?