Search Results for

    Show / Hide Table of Contents

    Interface ITextContentElement

    Namespace: IronWord.Models.Abstract.Interfaces
    Assembly: IronWord.dll
    Syntax
    public interface ITextContentElement

    Properties

    Style

    Declaration
    TextStyle Style { get; set; }
    Property Value
    Type Description
    TextStyle

    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
    Type Description
    ITextContentElement

    ToString()

    Declaration
    string ToString()
    Returns
    Type Description
    System.String
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronWord to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWord free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.