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<ContentElementCollection, ContentElement>, IElementContainer, ITextContainer, IDrawContainer
Constructors
TableCell()
Declaration
TableCell(ContentElement[])
Declaration
public TableCell(params ContentElement[] contents)
Parameters
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 |
|
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 |
|
GetWidth(Units)
Declaration
public double GetWidth(Units measurementUnit)
Parameters
Type |
Name |
Description |
Units |
measurementUnit |
|
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
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, Units)
Declaration
public TableCell SetWidth(double width, Units measurementUnit)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
Units |
measurementUnit |
|
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
IronSoftware.Abstractions.IElementContainer<, >