Hello Support,
I want to convert xhtml content to rtf, I am assuming that I will have to load file as html and then save it as rtf.
Is this correct? Or Is there any other way?
Regards
Mandar
Hello Support,
I want to convert xhtml content to rtf, I am assuming that I will have to load file as html and then save it as rtf.
Is this correct? Or Is there any other way?
Regards
Mandar
Thanks for your inquiry. Yes, your understanding is correct. You can use LoadOptions.LoadFormat property to specify the format of the document to be loaded.
Aspose.Words.LoadOptions options = new Aspose.Words.LoadOptions();
options.LoadFormat = LoadFormat.Html;
Document doc = new Document(MyDir + "in.html", options);
Hello Mazoor,
Thanks for confirming, Just to be sure this will work with xhtml as well.
Regards
Mandar
Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.