Hello,
i use Aspose v2.0.50727 and i want to convert a docx template to xml file, i used the folowing code but i have always error (the content is false) :
System.IO.MemoryStream ms= new System.IO.MemoryStream();
Aspose.Words.Saving.XpsOptions options= new Aspose.Words.Saving.XpsOptions();
db.Document.SaveToXps(0,db.Document.PageCount,ms,options);
return ms;
nacata:
Hello,
i use Aspose v2.0.50727 and i want to convert a docx template to xml file, i used the folowing code but i have always error (the content is false) :
Aspose.Words provides exhaustive
support for different XML-based formats for word processing documents
e.g. OOXML, Flat OPC and also Word 2003 XML. For more details, please
visit the following link: https://docs.aspose.com/words/net/supported-document-formats/
nacata:
Hello,
System.IO.MemoryStream ms= new System.IO.MemoryStream();
Aspose.Words.Saving.XpsOptions options= new Aspose.Words.Saving.XpsOptions();
db.Document.SaveToXps(0,db.Document.PageCount,ms,options);
return ms;
If you want to save Word document to XPS, please use Document.Save method.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.