Page Constructor (PageSize, Boolean)

Create a new page with given pagesize, and format the size to landscape or portrait.

Namespace:  TallComponents.PDF
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version:
public Page(
	PageSize pageSize,
	bool landscape
force the page to be landscape, otherwise force to be portrait
The page orientation will be forced to landscape or portrait. If you specify landscape to true and the given page size is already in landscape (eg Ledger, or custom) the page size will not be changed. This also the case if the page size is already portrait and the landscape boolean is set to false.
See Also