Class ReplacerContext
Namespace: Aspose.Words.LowCode
Assembly: Aspose.Words.dll (25.8.0)
Find/replace operation context.
public class ReplacerContext : ProcessorContextInheritance
object ← ProcessorContext ← ReplacerContext
Inherited Members
ProcessorContext.WarningCallback , ProcessorContext.FontSettings , ProcessorContext.LayoutOptions , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ReplacerContext()
public ReplacerContext()Properties
FindReplaceOptions
Find/replace options.
public FindReplaceOptions FindReplaceOptions { get; }Property Value
Methods
SetReplacement(string, string)
Sets pattern and replacement used by find/replace operation.
public void SetReplacement(string pattern, string replacement)Parameters
pattern string
replacement string
Remarks
Using this method overrides previously set pattern and replacement.
SetReplacement(Regex, string)
Sets pattern and replacement used by find/replace operation.
public void SetReplacement(Regex pattern, string replacement)Parameters
pattern Regex
replacement string
Remarks
Using this method overrides previously set pattern and replacement.