You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: File-Formats/DocIO/word-file-formats.md
+54Lines changed: 54 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -637,6 +637,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
637
637
638
638
### Saving Word document with compatibility
639
639
640
+
#### Maintain existing compatibility
640
641
The following code shows, how to save Word document with same word version compatibility
641
642
642
643
{% tabs %}
@@ -738,6 +739,59 @@ document.Close();
738
739
739
740
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-file-formats/Save-Word-with-compatibility).
740
741
742
+
#### Save Word in old compatibility
743
+
744
+
The following code shows, how to save Word document in old compatibility using DocIO.
745
+
{% tabs %}
746
+
747
+
{% highlight c# tabtitle="C# [Cross-platform]" %}
748
+
749
+
//Create an instance of WordDocument.
750
+
using (WordDocument document = new WordDocument())
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-file-formats/Save-Word-in-old-compatibility/.NET).
794
+
741
795
### Open a Word (*.doc) document containing incremental save information
742
796
743
797
Essential DocIO process the content that are preserved in the last complete save operation alone from a Word (.doc) document and it doesn't process the incremental save information. Hence it throws "Complex format is not supported" exception when attempting to open a Word (.doc) document containing incremental save information.
0 commit comments