PageSize class

Copyright © 2018-2024 PSPDFKit GmbH. All rights reserved.

THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. This notice may not be removed from this file.

Standard sizes in PDF points according to http://www.prepressure.com/library/paper-size

Constructors

PageSize(Size size)
Page size in PDF points.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
Page size in PDF points.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

a0 PageSize
Standard A0 841x1189mm size.
no setter
a4 PageSize
Standard A4 210x297mm size.
no setter
a5 PageSize
Standard A5 148x210mm size.
no setter
b4 PageSize
Standard B4 250x353mm size.
no setter
b5 PageSize
Standard B5 176x250mm size.
no setter
usLegal PageSize
Standard US letter 8.5x11" size.
no setter
usLetter PageSize
Standard US legal 8.5x14" size.
no setter