Table of Contents

Method InsertGlueColumn

Namespace
MigraDoc.DocumentObjectModel.Tables
Assembly
MigraDoc.DocumentObjectModel.dll

InsertGlueColumn(Table, int, int, int)

Inserts a magic glue column to avoid PageBreaks at the first "rowCountTop" and the last "rowCountBottom" of a Table.

public static void InsertGlueColumn(Table table, int insertAtIndex, int rowCountTop, int rowCountBottom)

Parameters

table Table
insertAtIndex int
rowCountTop int

For example 3 for rounded corners Row, Header Row and first content Row.

rowCountBottom int

For example 2 for last content Row and rounded corners Row.