-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add find and replace samples #293
base: main
Are you sure you want to change the base?
Conversation
//Opens an existing Word document. | ||
using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) | ||
{ | ||
//Finds the first occurrence of a particular text in the document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Finds the first occurrence of a particular text that matches the exact case in the document.
//Opens an existing Word document. | ||
using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) | ||
{ | ||
//Finds the first occurrence of a particular text in the document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Finds the first occurrence of a particular text that matches whole words in the document.
//Opens an existing Word document. | ||
using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) | ||
{ | ||
//Finds the first occurrence of a particular text in the document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Finds the first occurrence of a particular text that matches whole words in the document.
Description:
Added find and replace samples