Class TextReplaceOptions

TextReplaceOptions class

Represents text replace options

public sealed class TextReplaceOptions : TextOptions

Constructors

NameDescription
TextReplaceOptions(ReplaceAdjustment)Initializes new instance of the TextReplaceOptions object for the specified after replace action.
TextReplaceOptions(Scope)Initializes new instance of the TextReplaceOptions object for the specified scope.

Properties

NameDescription
AdjustmentNewLineSpacing { get; set; }Gets or sets value of line spacing that used if replace adjustment is forced to create new line of text. The value expected is multiplier of font size of the replaced text. Default is 1.2.
IgnoreParagraphs { get; set; }Gets or sets a value indicating whether to ignore distinct paragraphs when adjusting text on the page after text replacement.
LeftAdjustment { get; set; }Sets or gets left position adjustment for replaced text when using TextReplaceOptions: - ReplaceAdjustmentAction = IsFormFillingMode;
ReplaceAdjustmentAction { get; set; }Gets or sets an action that will be done after replace of text fragment to more short.
ReplaceScope { get; set; }Gets or sets a scope where replace text operation is applied
RightAdjustment { get; set; }Sets or gets right position adjustment for replaced text when using TextReplaceOptions: - ReplaceAdjustmentAction = WholeWordsHyphenation; - ReplaceAdjustmentAction = IsFormFillingMode;

See Also