Constructor TableCellRegion
TableCellRegion(Twips, Twips, Twips, Twips, long, long, long, int, int, int, Twips)
Initializes a region.
public TableCellRegion(Twips x, Twips y, Twips width, Twips height, long tableKey, long rowKey, long cellKey, int rowIndex, int columnStart, int columnSpan, Twips rowHeight)
Parameters
xTwipsThe band's left.
yTwipsThe band's top.
widthTwipsThe band's width.
heightTwipsThe band's height: the row fragment's.
tableKeylongThe table's node key.
rowKeylongThe row's node key.
cellKeylongThe cell's node key.
rowIndexintThe row's index in its table, from 0.
columnStartintThe first grid column the cell covers, from 0.
columnSpanintHow many grid columns it covers, 1 or more.
rowHeightTwipsThe whole row's laid-out height, over every fragment.
Exceptions
- ArgumentOutOfRangeException
A size, key or index is negative, or the span is less than 1.
TableCellRegion(Twips, Twips, Twips, Twips, long, long, long, int, int, int, Twips, Twips, Twips)
Initializes a region with the cell's text column (Phase 150).
public TableCellRegion(Twips x, Twips y, Twips width, Twips height, long tableKey, long rowKey, long cellKey, int rowIndex, int columnStart, int columnSpan, Twips rowHeight, Twips contentX, Twips contentWidth)
Parameters
xTwipsThe band's left.
yTwipsThe band's top.
widthTwipsThe band's width.
heightTwipsThe band's height: the row fragment's.
tableKeylongThe table's node key.
rowKeylongThe row's node key.
cellKeylongThe cell's node key.
rowIndexintThe row's index in its table, from 0.
columnStartintThe first grid column the cell covers, from 0.
columnSpanintHow many grid columns it covers, 1 or more.
rowHeightTwipsThe whole row's laid-out height, over every fragment.
contentXTwipsThe left of the cell's text column: inside its border and left cell margin.
contentWidthTwipsThe text column's width: the band less both margins and border insets.
Exceptions
- ArgumentOutOfRangeException
A size, key or index is negative, or the span is less than 1.