Class TextContentElement
Inheritance
System.Object
TextContentElement
Assembly: IronWord.dll
Syntax
public abstract class TextContentElement : ContentElement, tsphth, ITextContentElement
Constructors
TextContentElement()
Declaration
protected TextContentElement()
Properties
Style
Declaration
public TextStyle Style { get; set; }
Property Value
Text
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Find(String, Nullable<RegexOptions>, Boolean, Boolean)
Declaration
public List<int> Find(string searchText, Nullable<RegexOptions> regexOption = null, bool wholeWordOnly = false, bool caseSensitive = false)
Parameters
Type |
Name |
Description |
System.String |
searchText |
|
System.Nullable<System.Text.RegularExpressions.RegexOptions> |
regexOption |
|
System.Boolean |
wholeWordOnly |
|
System.Boolean |
caseSensitive |
|
Returns
Type |
Description |
System.Collections.Generic.List<System.Int32> |
|
Replace(String, String, Nullable<RegexOptions>, Boolean, Boolean)
Declaration
public ITextContentElement Replace(string searchText, string replaceText, Nullable<RegexOptions> regexOption = null, bool wholeWordOnly = false, bool caseSensitive = false)
Parameters
Type |
Name |
Description |
System.String |
searchText |
|
System.String |
replaceText |
|
System.Nullable<System.Text.RegularExpressions.RegexOptions> |
regexOption |
|
System.Boolean |
wholeWordOnly |
|
System.Boolean |
caseSensitive |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Implements