Class TableElements
Represents the base class for all table elements in the content model.
Implements
IronSoftware.Abstractions.IDocumentElement
IronSoftware.IDocumentObject
System.ICloneable
Inherited Members
Namespace: IronWord.Models.Abstract
Assembly: IronWord.dll
Syntax
public abstract class TableElements : ParentElement, IDocumentElement, IDocumentObject, ICloneable
Constructors
TableElements()
Declaration
protected TableElements()
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<AnyBitmap> ExtractImages()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<IronSoftware.Drawing.AnyBitmap> |
ExtractShapes()
Extract all shapes from this container.
Declaration
public List<IReadOnlyCollection<IPathSegment>> ExtractShapes()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.Collections.Generic.IReadOnlyCollection<IronSoftware.IPathSegment>> |
SetBorders(TableBorders)
Sets the border styles for the table element.
Declaration
public void SetBorders(TableBorders borders)
Parameters
| Type | Name | Description |
|---|---|---|
| TableBorders | borders | The border styles to apply. |
Implements
IronSoftware.Abstractions.IDocumentElement
IronSoftware.IDocumentObject
System.ICloneable