Constructor Page
Namespace TallComponents.PDF
Class Page
Create a new page with given page size, and format the size to landscape or portrait.
Syntax
public
Page(
PageSize
pageSize
,
Boolean
landscape
)
Parameters
PageSize
pageSize
The specified page size
Boolean
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 (e.g., Ledger, or custom) the page size will not be changed. This is also the case if the page size is already portrait and the landscape boolean is set to false.