Hi Alexey,
Thanks for the quick reply. I am attaching a word file that has an excel file embedded in it.
Here is the sample code that I used to show the problem. I am using version 6.0 of Words on Windows XP SP3 with a ASPOSE.TOTAL license.
You will see that the file size changes from 19k to 9k. Opening the resulting file using winzip shows that the embeddings folder and XLSX file is missing. The word portion of the file remains intact.
Thanks
class Program
{
static void Main(string[] args)
{
SetLicense();
WorkOnWordFile();
}
private static void WorkOnWordFile()
{
Document wordFile = new Document(@"..\..\embedtest.docx");
wordFile.Save(@"..\..\embedtest2.docx", SaveFormat.Docx);
}
private static void SetLicense()
{
Aspose.Words.License lic = new Aspose.Words.License();
lic.SetLicense(@"..\..\Aspose.Total.lic");
}
}