|
|
Find and Replace
Essential DocIO provides convenient APIs to search and replace specific document contents.
|
|
|
|
Essential DocIO has support for finding a particular place holder from the template document and replacing it with another dynamically generated document element like image, table, etc.
You can replace a string with text from another document preserving the source format or the target format.
Find and Replace Code
|
|
|
|
The original formatting can be persisted when replacing text in one document with another. The TextSelction class is used for preserving the source document format while the target document format is preserved automatically by DocIO during the replacement. Replacing with regular expressions is also supported.
Sample Code
|
|
|
|
With Essential DocIO, it is possible to search for a string across multiple documents and replace it with already existing document elements such as tables, images, etc.
Code to replace the given text with a Table
Code to replace the given text with an Image and some text
|
|
|
|
|
|
|