Table of Contents

Constructor TableCellRegion

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

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

x Twips

The band's left.

y Twips

The band's top.

width Twips

The band's width.

height Twips

The band's height: the row fragment's.

tableKey long

The table's node key.

rowKey long

The row's node key.

cellKey long

The cell's node key.

rowIndex int

The row's index in its table, from 0.

columnStart int

The first grid column the cell covers, from 0.

columnSpan int

How many grid columns it covers, 1 or more.

rowHeight Twips

The 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

x Twips

The band's left.

y Twips

The band's top.

width Twips

The band's width.

height Twips

The band's height: the row fragment's.

tableKey long

The table's node key.

rowKey long

The row's node key.

cellKey long

The cell's node key.

rowIndex int

The row's index in its table, from 0.

columnStart int

The first grid column the cell covers, from 0.

columnSpan int

How many grid columns it covers, 1 or more.

rowHeight Twips

The whole row's laid-out height, over every fragment.

contentX Twips

The left of the cell's text column: inside its border and left cell margin.

contentWidth Twips

The 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.