I am unable to get the following code (from the documentation section) to work:
// Open the document
Document doc = new Document(dataDir + “TestFile.doc”);
Table table = (Table)doc.GetChild(NodeType.Table, 0, true);
// Auto fit the table to the cell contents
// Save the document to disk.
doc.Save(dataDir + “TestFile.AutoFitToContents Out.doc”);
The error is that “Table does not contain a definition for AutoFit”.
I’m thinking this could be a new feature missing from my version?
In which version did this feature come out in?
Thanks for your assistance.