Table of Contents

Method GetEffectiveBordersRtf

Namespace
MigraDoc.DocumentObjectModel.Visitors
Assembly
MigraDoc.DocumentObjectModel.dll

GetEffectiveBordersRtf(Cell)

Gets a borders object that should be used for RTF rendering. In RTF heading rows must not be considered, as repeated heading row rendering is done in the RTF application. Further, inserting rows later in the RTF application should not move or duplicate any heading row border formatting, that could otherwise be assigned here to the following row, down to the table content.

public Borders GetEffectiveBordersRtf(Cell cell)

Parameters

cell Cell

Returns

Borders

Exceptions

ArgumentException

Thrown when the cell is not in this list. This situation occurs if the given cell is merged "away" by a previous one.