Namespace TallComponents.PDF.Shapes
Class PageShape
A page shape is a placeholder for an existing page. It is used to stamp existing pages on an other page, which could be either a new or an existing page.
Placing a page using the PageShape removes all interactive features such as links and form fields.
Syntax
public class PageShape
: ContentShape
Constructors
PageShape(Page)
Create a new page shape.
PageShape(Page,Double,Double,Double,Double)
Create a new page shape, with the aspect ratio not respected, no rotation
PageShape(Page,Double,Double,Double,Double,Boolean)
Create a new page shape, no rotation.
PageShape(Page,Double,Double,Double,Double,Boolean,Double,PageBoundary)
Create a new page shape.
Properties
Double Height
The height of this page shape in points.
Boolean KeepAspectRatio
If KeepAspectRatio is set to true, the size is calculated from the
width and height so that the width/height ratio is equal to the ratio
of the original page. If set to false, the specified.
width and height are used and the page will in general appear distorted.
PageBoundary PageBoundary
Specifies which page boundary corresponds to this page shape, the space outside the specified boundary will be clipped.
Double Width
The width of this page shape in points.