Search Results for

    Show / Hide Table of Contents

    Interface IContentElement

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

    Properties

    Children

    Declaration
    List<ContentElement> Children { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<ContentElement>

    Parent

    Declaration
    ContentElement Parent { get; }
    Property Value
    Type Description
    ContentElement

    Methods

    AddChild(ContentElement[])

    Declaration
    void AddChild(params ContentElement[] children)
    Parameters
    Type Name Description
    ContentElement[] children

    Clone()

    Declaration
    ContentElement Clone()
    Returns
    Type Description
    ContentElement

    ExtractElements<T>()

    Declaration
    List<T> ExtractElements<T>()
        where T : ContentElement
    Returns
    Type Description
    System.Collections.Generic.List<T>
    Type Parameters
    Name Description
    T

    GetChildByIndex<T>(Int32)

    Declaration
    ContentElement GetChildByIndex<T>(int index)
        where T : ContentElement
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    ContentElement
    Type Parameters
    Name Description
    T

    InsertChildToIndex(Int32, ContentElement[])

    Declaration
    void InsertChildToIndex(int index, params ContentElement[] children)
    Parameters
    Type Name Description
    System.Int32 index
    ContentElement[] children

    Remove()

    Declaration
    void Remove()

    RemoveAllChildren()

    Declaration
    void RemoveAllChildren()

    RemoveChildren(ContentElement[])

    Declaration
    void RemoveChildren(params ContentElement[] children)
    Parameters
    Type Name Description
    ContentElement[] children

    Replace(ContentElement)

    Declaration
    void Replace(ContentElement newChild)
    Parameters
    Type Name Description
    ContentElement newChild
    ☀
    ☾
    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.