Hi I want to check file format before and after format change, how i cna do, i just see one property . originalloadformat , but no property to see after change , what type format , is any property which tell us what type both format before and after.
MemoryStream stream = new MemoryStream();
// create the letter, writing it to the stream
// Convert to byte array for saving to database
byte byteArray = stream.ToArray();
//Docx to Doc Conversion
Aspose.Words.SaveFormat outputFormat = Aspose.Words.SaveFormat.Doc;
Aspose.Words.Document doc = new Aspose.Words.Document(stream);
// here i want to see doc.format doc.originalformat
Aspose.Words.ProtectionType protectionType = doc.ProtectionType;
// here i want to see doc.format
and is there way to open this file in same format which got change.