Constructor PageShape

Namespace TallComponents.PDF.Layout.Shapes
Class PageShape

Create a new PageShape from a PDF document in a stream with the original size of the page.

Syntax

public  PageShape( Stream  stream Int32  pageIndex String  password )

Parameters


Stream stream
The PDF Document.

Int32 pageIndex
Zero based page index.

String password
The password needed to open the given PDF.

This constructor uses the Default page boundry to determine the page's size.

The may be closed when the constructor completes. It is the responsibility of the client to close the stream.