Class TableCell
Inheritance
System.Object
TableCell
Implements
IronSoftware.Abstractions.IDocumentElement
IronSoftware.IDocumentObject
System.ICloneable
Assembly: IronWord.dll
Syntax
public class TableCell : TableElements, IDocumentElement, IDocumentObject, ICloneable, IElementContainer, ITextContainer, IDrawContainer
Constructors
TableCell()
Declaration
TableCell(ContentElement[])
Declaration
public TableCell(params ContentElement[] contents)
Parameters
TableCell(String)
Declaration
public TableCell(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Properties
BottomMargin
Declaration
public double BottomMargin { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Contents
Declaration
public List<ContentElement> Contents { get; }
Property Value
FitText
Declaration
public bool FitText { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
GridSpan
Declaration
public int GridSpan { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Index
Declaration
public int Index { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
LeftMargin
Declaration
public double LeftMargin { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
MultiLevelTextLists
Declaration
public List<MultiLevelTextList> MultiLevelTextLists { get; }
Property Value
Paragraphs
Declaration
public List<Paragraph> Paragraphs { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.List<Paragraph> |
|
RightMargin
Declaration
public double RightMargin { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Shading
Declaration
public Shading Shading { get; set; }
Property Value
TextAlignment
Declaration
public JustificationValues TextAlignment { get; set; }
Property Value
TopMargin
Declaration
public double TopMargin { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Value
Declaration
public string Value { get; }
Property Value
| Type |
Description |
| System.String |
|
VerticalAlignment
Declaration
public VerticalAlign VerticalAlignment { get; set; }
Property Value
Width
Declaration
public double Width { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
AddChild(ContentElement[])
Declaration
public override void AddChild(params ContentElement[] children)
Parameters
Overrides
AddImage(AnyBitmap)
Declaration
public ImageContent AddImage(AnyBitmap anyBitmap)
Parameters
| Type |
Name |
Description |
| IronSoftware.Drawing.AnyBitmap |
anyBitmap |
|
Returns
AddImage(ImageContent)
Declaration
public ImageContent AddImage(ImageContent imageContent)
Parameters
Returns
AddImage(Stream)
Declaration
public ImageContent AddImage(Stream imageStream)
Parameters
| Type |
Name |
Description |
| System.IO.Stream |
imageStream |
|
Returns
AddImage(String)
Declaration
public ImageContent AddImage(string imagePath)
Parameters
| Type |
Name |
Description |
| System.String |
imagePath |
|
Returns
AddMultiLevelTextList(MultiLevelTextList)
Declaration
public MultiLevelTextList AddMultiLevelTextList(MultiLevelTextList multiLevelTextList)
Parameters
Returns
AddParagraph(Paragraph)
Declaration
public Paragraph AddParagraph(Paragraph paragraph)
Parameters
Returns
AddShape(ShapeContent)
Declaration
public ShapeContent AddShape(ShapeContent shapeContent)
Parameters
Returns
AddTable(Table)
Declaration
public Table AddTable(Table table)
Parameters
| Type |
Name |
Description |
| Table |
table |
|
Returns
AddText(TextContent)
Declaration
public TextContent AddText(TextContent textContent)
Parameters
Returns
AddText(String)
Declaration
public TextContent AddText(string text)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
Returns
CloneStruct()
Declaration
public TableCell CloneStruct()
Returns
Declaration
public string ExtractText()
Returns
| Type |
Description |
| System.String |
|
FindText(String)
Declaration
public TextContent FindText(string find)
Parameters
| Type |
Name |
Description |
| System.String |
find |
|
Returns
GetWidth(MeasurementUnit)
Declaration
public double GetWidth(MeasurementUnit measurementUnit)
Parameters
Returns
| Type |
Description |
| System.Double |
|
InsertCellAfterSelf(TableCell)
Declaration
public TableCell InsertCellAfterSelf(TableCell cell)
Parameters
Returns
InsertCellBeforeSelf(TableCell)
Declaration
public TableCell InsertCellBeforeSelf(TableCell cell)
Parameters
Returns
Remove(TextContent)
Declaration
public bool Remove(TextContent element)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
ReplaceText(String, String)
Declaration
public void ReplaceText(string find, string replace)
Parameters
| Type |
Name |
Description |
| System.String |
find |
|
| System.String |
replace |
|
SetContent(ContentElement)
Declaration
public TableCell SetContent(ContentElement content)
Parameters
Returns
SetWidth(Double, MeasurementUnit)
Declaration
public TableCell SetWidth(double width, MeasurementUnit measurementUnit)
Parameters
Returns
Split(Int32, Int32)
Declaration
public TableCell Split(int toRow, int toColumn)
Parameters
| Type |
Name |
Description |
| System.Int32 |
toRow |
|
| System.Int32 |
toColumn |
|
Returns
Implements
IronSoftware.Abstractions.IDocumentElement
IronSoftware.IDocumentObject
System.ICloneable