The OpenD Programming Language

StyleOptions.onEnterPage

An empty callback you can override to decorate each page of the document. You cannot call other FlowDocument function from inside this callback. pageCount is the page number, starting with 1. This is called before anything else is drawn on a page.

struct StyleOptions
void delegate(IRenderingContext2D context, int pageCount) onEnterPage;

Meta