Skip to content

Instantly share code, notes, and snippets.

@bjoerntx

bjoerntx/test.cs Secret

Created August 4, 2023 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/4c301eb876eb29d8fdf0b7c67ad6638b to your computer and use it in GitHub Desktop.
Save bjoerntx/4c301eb876eb29d8fdf0b7c67ad6638b to your computer and use it in GitHub Desktop.
Table table = textControl1.Tables.GetItem();
TableRow nextRow = null;
TableRow row = null;
do { // find the first row on the next page
row = FindFirstTableRowOnNextPage(table, nextRow);
// highlight the row
if (row != null) {
row.CellFormat.BackColor = Color.Yellow;
}
nextRow = row;
} while (nextRow != null); // repeat until no more rows on the next page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment