We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

The Contents of the Word Documnet file is gone(.Net)

I use aspose.words
to save the word document like as File attachment (before.doc),
but the contents of the word documnet file is gone like as File attachment (after.doc).

the code like as

Public License As New Aspose.Words.License()
Public srcDoc As New Aspose.Words.Document

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
srcDoc = New Aspose.Words.Document(“C:\before.doc”)
srcDoc.ViewOptions.ViewType = Settings.ViewType.PageLayout
End Sub

How to save the same contents of the word documnet file .



Thanks for your inquiry.

I managed to reproduce the problem with symbols on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.
As a workaround you can save your document in DOCX format.

Document doc = new Document("X:\\before.doc");<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

doc.ViewOptions.ViewType = ViewType.PageLayout;

doc.Save("X:\\after.docx", SaveFormat.Docx);

That there is any way to modify the symbols font it?


Thank you for your request.
Maybe you can avoid the use of special characters? Maybe they can replace the conventional numbers?

The issues you have found earlier (filed as WORDSNET-4445) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.