We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Table width 100%

How can I set the width of a table to 100% of the page?

Hi
Thanks for your inquiry. Unfortunately you can’t set width of the table using Aspose.Words. This is known issue # 907. As workaround you can set width of each cell in the table.
100% width of page you can calculate using the following code.

PageSetup setup = doc.FirstSection.PageSetup;
double pageWidth = setup.PageWidth - setup.LeftMargin - setup.RightMargin;

Best regards.

Has this issue been fixed yet? Because I am having the problem that when
a document is created on one system using static cell widths, it
creates/ prints fine, but when it is printed from a different machine it
messes up the tables.

If I use word to open the document then it resizes the tables to fit, but using the Aspose.Print() method no resizing occurs

Hello,
Thank you for your inquiry.
Unfortunately your issue is still unresolved. Once the problem is resolved, we will notify you immediately.

Hi,

Can you please tell me if issue #907 has been resolved yet? If not, is there a time frame for when it should be resolved?

Thank you.

Hello
Thanks for your inquiry. Unfortunately, the issue is still unresolved and currently I cannot provide you any reliable estimate regarding this issue. You will be notified as soon as it is supported.
Best regards,

The issues you have found earlier (filed as WORDSNET-352;WORDSNET-581) have been fixed in this .NET update and in this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.