1. Quick Guide: Updating and Replacing Texts in Itext - Best Practices

1. Quick Guide: Updating and Replacing Texts in Itext - Best Practices

David Lv8

1. Quick Guide: Updating and Replacing Texts in Itext - Best Practices

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

ITextUpdateReplace

https://techidaily.com

Declaration

ITextUpdateReplace : IDispatch

https://techidaily.com

Overview

This interface is meant to configure text replace operation.

Properties

String Find
Gets or sets the text to be found.

Bool UseRegularExpressions
Gets or sets if a special text string for describing a search pattern is used from “Find” property.

String Replace
Gets or sets the text that will replace the text to be found.

Bool MatchCase
Gets or sets the property to ensure that all text formatting will be kept after the replacement operation

Bool MatchWholeWord
Gets or sets the property to treat “Find” property value as a word. Only words that will be exactly the same as the “Find” field’s string will be replaced. (e.g: Inserted string: “is”. “The fox is brown” will return a match)

Bool ReplaceOnlyFirstOccurence
Gets or sets the property to end when the first match is found while the rest possible matches will be ignored

https://techidaily.com

See also

ITextFileUpdatesComponent

ITextUpdateFile

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: 1. Quick Guide: Updating and Replacing Texts in Itext - Best Practices
  • Author: David
  • Created at : 2024-10-08 23:51:09
  • Updated at : 2024-10-10 20:38:56
  • Link: https://fox-zaraz.techidaily.com/1-quick-guide-updating-and-replacing-texts-in-itext-best-practices/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
1. Quick Guide: Updating and Replacing Texts in Itext - Best Practices