I’m looking at using Aspose.Words to replace Word Automation (Microsoft.Office.Interop.Word), but I’m having a hard time finding a way to replace the following code:
foreach(Word.Table curTable in WordDoc.Tables)
{
curTable.PreferredWidthType = Word.WdPreferredWidthType.wdPreferredWidthPercent;
curTable.PreferredWidth = 99;
}
Unfortunately, I’ve not seen Preferred Width or Preferred Width anywhere in the table setup, using either the builder or otherwise. I did find this post from four years ago, but the code provided here neither answers my question, nor does it provide me with a way to get at these attributes.
Any help that you can provide me with would be greatly appreciated! If preferred width is not currently an available option, is there anyway that I can find out when it might be?
Thanks!
Jamal Khan