Constructor PageShape
Namespace TallComponents.PDF.Shapes
Class PageShape
Create a new page shape.
Syntax
public PageShape(Page page, Double left, Double bottom, Double width, Double height, Boolean keepAspectRatio, Double rotation, PageBoundary pageBoundary)
Parameters
Page
page
The existing page that will be rendered inside this page shape.
Double
left
The horizontal position of the left edge of this page shape.
Double
bottom
The vertical position of the bottom edge of this page shape.
Double
width
The width of this page shape.
Double
height
The height of this page shape.
Boolean
keepAspectRatio
The width/height ratio is equal to the ratio of the original page.
Double
rotation
The rotation the page shape clockwise (360 corresponds to a full circle).
PageBoundary
pageBoundary
This shape has the contents from the specified page boundary. If the page does not have the specified page boundary, then it will be automatically using the following fallback: ArtBox --> CropBox; TrimBox --> CropBox; BleedBox --> CropBox; CropBox --> MediaBox.