TxtSaveOptionsBasePreserveTableLayout Property |
Namespace: Aspose.Words.Saving
// Open a document with a table Document doc = new Document(MyDir + "Rendering.docx"); // Due to the nature of text documents, table grids and text wrapping will be lost during conversion // from a file type that supports tables // We can preserve some of the table layout in the appearance of our content with the PreserveTableLayout flag // The SimplifyListLabels flag will convert some list symbols // into ASCII characters such as *, o, +, > etc, depending on list level TxtSaveOptions txtSaveOptions = new TxtSaveOptions { SimplifyListLabels = true, PreserveTableLayout = true}; doc.Save(ArtifactsDir + "TxtSaveOptions.Appearance.txt", txtSaveOptions);