Class CKRow
Represents a row in a Word table.
Inherited Members
Namespace: CoverageKiller2.DOM.Tables
Assembly: CoverageKiller2.dll
Syntax
public class CKRow : CKCells, IDOMObject, IEnumerable<CKCell>, IEnumerable
Constructors
CKRow(CKRowCellRef, IDOMObject)
Declaration
public CKRow(CKRowCellRef rowRef, IDOMObject parent)
Parameters
Type | Name | Description |
---|---|---|
CKRowCellRef | rowRef | |
IDOMObject | parent |
Properties
Index
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
int |
this[int]
Gets the CKCell at the specified one-based index.
Declaration
public override CKCell this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | index | The one-based index (1..Count). |
Property Value
Type | Description |
---|---|
CKCell | The corresponding CKCell instance. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | If index is out of bounds. |
RowRef
Declaration
public CKRowCellRef RowRef { get; protected set; }
Property Value
Type | Description |
---|---|
CKRowCellRef |
Methods
Delete()
Deletes the row if no merged cells exist, or falls back to SlowDelete.
Declaration
public void Delete()
Remarks
Version: CK2.00.03.0002
SlowDelete()
Deletes all non-merged cells in this row using the CKTable grid layout. This is a fallback method when Word's native row deletion fails due to merged cells.
Declaration
public void SlowDelete()
Remarks
Version: CK2.00.03.0003