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: 4.0.101.0
Syntax
public Page(
	PageSize pageSize,
	bool landscape
)
Boolean
force the page to be landscape, otherwise force to be portrait
Remarks
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