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

Free Support Forum - aspose.com

Merge 2 word documents- count the characters present in a doc

I want to merge mutiple word documents into one document file, how could i achive this in asp.net by using aspose.words? I also want know that how could I count the characters present in one word document file including spaces?

Thanks in advance for help

Subimal Nath..

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank for your inquiry.

1. Yes, of course you can merge two or more documents together. Please see the following link for more information.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/append-one-document-to-another.html

2. Yes you can get count of characters with or without white spaces using BuildInDocumentProperties. Please see the following links.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.properties.builtindocumentproperties.characters.html

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.properties.builtindocumentproperties.characterswithspaces.html

But before getting these values please call UpdateWordCount method.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.document.updatewordcount.html

Hope this helps.

Best regards.