Class Paragraph.TextReplacer
Inheritance
System.Object
Paragraph.TextReplacer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DLS
Assembly: Syncfusion.DLS.Base.dll
Syntax
protected class TextReplacer
Constructors
TextReplacer()
Declaration
public TextReplacer()
Fields
m_instance
Declaration
[ThreadStatic]
public static Paragraph.TextReplacer m_instance
Field Value
Type |
---|
Paragraph.TextReplacer |
Properties
Instance
Gets the instance.
Declaration
public static Paragraph.TextReplacer Instance { get; }
Property Value
Type | Description |
---|---|
Paragraph.TextReplacer | The instance. |
Methods
Replace(Paragraph, Regex, String)
Replaces the specified para.
Declaration
public int Replace(Paragraph para, Regex pattern, string replacement)
Parameters
Type | Name | Description |
---|---|---|
Paragraph | para | The para. |
System.Text.RegularExpressions.Regex | pattern | The pattern. |
System.String | replacement | The replace. |
Returns
Type |
---|
System.Int32 |