PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

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 pageSizeBoolean 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.

Download PDFKit.NET 5.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.