Class TableElement
Represents the base class for all table elements in the content model.
Implements
IronSoftware.Abstractions.Word.IWordDocumentObject
IronSoftware.Abstractions.IDocumentObject
System.ICloneable
IronSoftware.Abstractions.IParent<IronSoftware.Abstractions.Word.IWordDocumentObjectCollection, IronSoftware.Abstractions.Word.IWordDocumentObject>
Inherited Members
Namespace: IronWord.Models.Abstract
Assembly: IronWord.dll
Syntax
public abstract class TableElement : ParentElement, IWordDocumentObject, IDocumentObject, ICloneable, IParent<IWordDocumentObjectCollection, IWordDocumentObject>
Constructors
TableElement()
Declaration
protected TableElement()
Properties
BackgroundColor
Gets or sets the background color of the table element.
Declaration
public Color BackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Borders
Gets or sets the border styles for the table element.
Declaration
public TableBorders Borders { get; set; }
Property Value
| Type | Description |
|---|---|
| TableBorders |
Methods
ExtractImages()
Extract all images from this container.
Declaration
public List<ImageContent> ExtractImages()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<ImageContent> |
ExtractShapes()
Extract all shapes from this container.
Declaration
public List<ShapeContent> ExtractShapes()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<ShapeContent> |
Implements
IronSoftware.Abstractions.Word.IWordDocumentObject
IronSoftware.Abstractions.IDocumentObject
System.ICloneable
IronSoftware.Abstractions.IParent<, >