Table of Contents

Class PageSize

Namespace
PDFjet.NET
Assembly
PDFjet.dll

The width and height of a page in points; 1 point is 1/72 inch. A page size cannot be changed once it is created, so the PORTRAIT and LANDSCAPE constants of A3, A4, A5, B5, JISB5, Executive, Legal, Letter and Tabloid are the same for every page made with them. Use the constructor for any other page size.

public sealed class PageSize
Inheritance
PageSize
Inherited Members

Constructors

PageSize(float, float)

Creates a page size.

public PageSize(float width, float height)

Parameters

width float

the width of the page in points.

height float

the height of the page in points.

Methods

GetHeight()

Returns the height of the page in points.

public float GetHeight()

Returns

float

GetWidth()

Returns the width of the page in points.

public float GetWidth()

Returns

float