I am perusing the sample on Exporting a document to Word and I see this code:
else if ("TypeDocx".Equals(fileType)) {
this.xamRichTextEditor1.Document.SaveToWord(fs);
}
But I cannot find any method SaveToWord on the RichTextDocument class. All I have is .Save and .SaveToPlainText, as shown here:
http://help.infragistics.com/Help/Doc/WPF/2014.1/CLR4.0/html/InfragisticsWPF4.Documents.RichTextDocument.v14.1~Infragistics.Documents.RichText.RichTextDocument_members.html
Can anyone tell me why the SaveToWord method is listed in the 14.1 samples? Is it a mistake, or are there different versions of the 14.1 library? Thanks.
Hi Svetla, thanks for the quick reply.
In the sample I am looking at:
http://ko.infragistics.com/samples/wpf/richtext-editor/export-content
There is no mention of the class you linked to. The SaveToWord() method belongs directly to the Infragistics.Documents.RichText.RichTextDocument class. So I don't know how to access the class you mentioned or its methods. Is there any sample available that uses the class you linked to?
Hello Adam,
You can see the SaveToWord method here:
http://help.infragistics.com/doc/WPF/2014.1/CLR4.0/?page=InfragisticsWPF4.Documents.RichTextDocument.Word.v14.1~Infragistics.Documents.RichText.WordSerializationProviderExtensions~SaveToWord.html
Regards,