PageSetup class

PageSetup class

Represents a page setup object is used for configuration output page-set.

The PageSetup type exposes the following members:

Properties

PropertyDescription
at_page_priorityGets or sets AtPagePriority which will determine order of applying page size declarations. By default options will override css @page rules .
page_layout_optionsGets or sets the PageLayoutOptions. Default value is PageLayoutOptions.NONE, any other value will override the PageSetup.adjust_to_widest_page behaviour. Works only with HTML documents.
adjust_to_widest_pageGets or sets flag that determines case when page size will be adjusted to widest page in document.
This options is time-consuming so time of document processing can be increased in two times. Adjustment will
take place only if widest page in document is wider than page size determined in PageSetup. Adjusted
page size will be used for all pages in document.
left_pageGets the Odd Page configuration.
right_pageGets the Even Page configuration.
any_pageGets or sets all pages configuration in the the page-sequence.
first_pageGets or sets the first page configuration.

Methods

MethodDescription
set_left_right_pageSets the Left/Right page configuration.

See Also