render_page


Description:

[ Version ( since = "2.10" ) ]
public abstract void render_page (int page_nr)

Renders a page to the preview, using the print context that was passed to the preview handler together with this.

A custom iprint preview should use this function in its GtkPrintOperationPreview::expose handler to render the currently selected page.

Note that this function requires a suitable cairo context to be associated with the print context.

Parameters:

this

a PrintOperationPreview

page_nr

the page to render




2022 vala-language.org