To search a keyword in Microsoft Office Word documents search(String) method is used. This method returns the collection of SearchResult objects. For details, see Search Text.
Here are the steps to search a keyword in Microsoft Office Word document:
Instantiate Parser object for the initial document; Call search(String) method and obtain the collection of SearchResult objects; Iterate through the collection and get the position and text. Warning search(String) method returns null value if search isn’t supported for the document....Annotation Product Solution GroupDocs...SearchResult s : sr ) { // Print an index and found text: System...
This article explains that how to extract tables from document....Annotation Product Solution GroupDocs...through the collection and print table cells. The following example...
To search a keyword in EPUB e-books Search(String) method is used. This method returns the collection of SearchResult objects....Annotation Product Solution GroupDocs...SearchResult s in sr ) { // Print an index and found text: Console...
To extract table of contents from EPUB e-books GetToc method is used....Annotation Product Solution GroupDocs...foreach ( TocItem i in toc ) { // Print the Toc text Console . WriteLine...
Dit artikel bevat stapsgewijze instructies om tekst uit Excel in C# te extraheren met behulp van eenvoudige API-aanroepen en een voorbeeldtoepassing om tekst uit een Excel-bestand te lezen met behulp van C#....Annotation Product Family GroupDocs...slotte de tekst van de reader en print deze op het scherm We hebben...
This article explains that how to extract images from document page....Annotation Product Solution GroupDocs...getPageCount (); pageIndex ++) { // Print a page number System . out ...
This article explains that how to search text from Microsoft Office Excel (.xls, .xlsx) spreadsheets....Annotation Product Solution GroupDocs...SearchResult s in sr ) { // Print an index and found text: Console...
This article explains that how to search text from Microsoft Office Word (.doc, .docx) documents...Annotation Product Solution GroupDocs...SearchResult s in sr ) { // Print an index and found text: Console...
To search a keyword in PDF documents search(String) method is used. This method returns the collection of SearchResult objects. For details, see Search Text.
Here are the steps to search a keyword in PDF document:
Instantiate Parser object for the initial document; Call search(String) method and obtain the collection of SearchResult objects; Iterate through the collection and get the position and text. Warning search(String) method returns null value if search isn’t supported for the document....Annotation Product Solution GroupDocs...SearchResult s : sr ) { // Print an index and found text: System...