Interface ITextContentElement
Assembly: IronWord.dll
Syntax
public interface ITextContentElement
Properties
Style
Declaration
TextStyle Style { get; set; }
Property Value
Text
Declaration
string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Find(String, Nullable<RegexOptions>, Boolean, Boolean)
Declaration
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
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
Returns
Type |
Description |
System.String |
|