i was needing some help trying figure out how to use aspose words to search for key words in word and pdf documents stored on my website and maybe a network drive. Does anyone have any sample code on doing this, it would be much appreciated.
Thanks for your request. If you need to find keywords in document’s content, you can use Range.Replace method. For example, see the following article:
If you need just get Keywords property from MS Word document, you can use BuitInDocumentProperties.Keywords:
Hope this helps.
Can this also be used to search pdf documents along with word documents?
Do you have any sample code that can search the document, and if it has the key word or words to just return the file name or boolean value?
Thanks for your request. You can use Aspose.Words to process only Word documents. Please see the following link to learn what file formats are supported by Aspose.Words.
I think you can easily achieve such search functionality. You just need to get list of documents, then open each document and check whether it contains searched keywords.