This project is read-only.

Aspose.Words - Autofit Setting to Tables

// Open the document
Document doc = new Document(dataPath + "tableDoc.doc");

Table table = (Table)doc.getChild(NodeType.TABLE, 0, true);
// Autofit the first table to the page width.

Table table2 = (Table)doc.getChild(NodeType.TABLE, 1, true);
// Auto fit the table to the cell contents

Download Source Code

For More Examples, Please Visit Aspose Docs

Last edited Dec 5, 2014 at 11:32 AM by shoaibkhan, version 1