Search Results for

    Show / Hide Table of Contents

    Class Container

    Inheritance
    System.Object
    ContentElement
    ParentElement
    Container
    Implements
    IronSoftware.Abstractions.IDocumentElement
    IronSoftware.IDocumentObject
    System.ICloneable
    IronSoftware.Abstractions.IElementContainer<ContentElementCollection, ContentElement>
    Inherited Members
    ParentElement.InsertChildToIndex(Int32, ContentElement[])
    ParentElement.Remove()
    ParentElement.RemoveChildren(ContentElement[])
    ParentElement.RemoveAllChildren()
    ParentElement.ExtractElements<T>()
    ParentElement.GetChildByIndex<T>(Int32)
    ParentElement.Clone()
    ParentElement.CloneObject()
    ParentElement.LogObjectTree()
    ParentElement.DefaultTextStyle
    ParentElement.Texts
    ParentElement.Tables
    ParentElement.Children
    ContentElement.Status
    ContentElement.Replace(ContentElement)
    ContentElement.GetIndex<T>()
    ContentElement.Parent
    ContentElement.ObjNum
    ContentElement.PageIndex
    ContentElement.DocumentId
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public class Container : ParentElement, IDocumentElement, IDocumentObject, ICloneable, IElementContainer<ContentElementCollection, ContentElement>

    Constructors

    Container()

    Declaration
    public Container()

    Container(ContentElement[])

    Declaration
    public Container(params ContentElement[] children)
    Parameters
    Type Name Description
    ContentElement[] children

    Properties

    BuiltInColors

    Declaration
    public Dictionary<string, Dictionary<string, Color>> BuiltInColors { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.Dictionary<System.String, Color>>

    BuiltInStyles

    Declaration
    public List<Style> BuiltInStyles { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<Style>

    PageSetup

    Declaration
    public PageSetup PageSetup { get; set; }
    Property Value
    Type Description
    PageSetup

    ParagraphsDefaultStyle

    Declaration
    public ParagraphStyle ParagraphsDefaultStyle { get; set; }
    Property Value
    Type Description
    ParagraphStyle

    TextsDefaultStyle

    Declaration
    public TextStyle TextsDefaultStyle { get; set; }
    Property Value
    Type Description
    TextStyle

    Methods

    AddChild(ContentElement[])

    Declaration
    public override void AddChild(params ContentElement[] children)
    Parameters
    Type Name Description
    ContentElement[] children
    Overrides
    ParentElement.AddChild(ContentElement[])

    Implements

    IronSoftware.Abstractions.IDocumentElement
    IronSoftware.IDocumentObject
    System.ICloneable
    IronSoftware.Abstractions.IElementContainer<, >

    Inherited members

    InsertChildToIndex(Int32, ContentElement[])
    Remove()
    RemoveChildren(ContentElement[])
    RemoveAllChildren()
    ExtractElements<T>()
    GetChildByIndex<T>(Int32)
    Clone()
    CloneObject()
    LogObjectTree()
    DefaultTextStyle
    Texts
    Tables
    Children
    Status
    Replace(ContentElement)
    GetIndex<T>()
    Parent
    ObjNum
    PageIndex
    DocumentId
    ☀
    ☾
    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.