Page Breaks
Rendering into the block flow can cause automatic insertion of column and page breaks into the body of the document. During generation, when the next object to be rendered hits the bottom of the body area of the current column, a new column is started and the object is rendered into that. If the current column is the last column on the page, a page break is inserted into the document, and a new page is started. The NewPageSetup event is fired at that time to allow changing the new page settings, and then the NewPageStarted event is fired to allow you to draw something on the new page before the normal flow resumes.
For direct rendering, all positioning is done relative to the top left corner of the current page. Direct rendering never causes automatic insertion of column or page breaks.
|