I use the Aspose.Words to generate a rtf-document with the following code:
doc.Save(“thefile.rtf”, Aspose.Words.SaveFormat.Rtf, Aspose.Words.SaveType.OpenInWord, this.Response);
When this is called a window is opened at the client where they can choose between open and save. If its opened and saved through word, the filesize is quite small. If the user saves without open all the content of the content, including hidden, is saved making the file quite much larger.
Anyone got a tip in how to exclude hidden content/reducing filesize when saving without opening the file?