Search Results for

    Show / Hide Table of Contents

    Class ContentElement

    Inheritance
    System.Object
    ContentElement
    ParentElement
    TextContentElement
    Chart
    Image
    ImageContent
    ListLevel
    PageBreakContent
    Shape
    ShapeContent
    Implements
    IronSoftware.Abstractions.IDocumentElement
    IronSoftware.IDocumentObject
    System.ICloneable
    Namespace: IronWord.Models.Abstract
    Assembly: IronWord.dll
    Syntax
    public abstract class ContentElement : Object, IDocumentElement, IDocumentObject, ICloneable

    Constructors

    ContentElement()

    Declaration
    protected ContentElement()

    Fields

    Status

    Declaration
    public ElementStatus Status
    Field Value
    Type Description
    ElementStatus

    Properties

    DocumentId

    Declaration
    public IDocumentId DocumentId { get; set; }
    Property Value
    Type Description
    IronSoftware.IDocumentId

    ObjNum

    Declaration
    public uint ObjNum { get; set; }
    Property Value
    Type Description
    System.UInt32

    PageIndex

    Declaration
    public uint PageIndex { get; set; }
    Property Value
    Type Description
    System.UInt32

    Parent

    Declaration
    public ParentElement Parent { get; }
    Property Value
    Type Description
    ParentElement

    Methods

    Clone()

    Declaration
    public virtual object Clone()
    Returns
    Type Description
    System.Object

    CloneObject()

    Declaration
    protected virtual object CloneObject()
    Returns
    Type Description
    System.Object

    GetIndex<T>()

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

    Remove()

    Declaration
    public virtual void Remove()

    Replace(ContentElement)

    Declaration
    public void Replace(ContentElement newChild)
    Parameters
    Type Name Description
    ContentElement newChild

    Implements

    IronSoftware.Abstractions.IDocumentElement
    IronSoftware.IDocumentObject
    System.ICloneable
    ☀
    ☾
    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.