PdfPageSize class
Represents a PDF page size with width and height in points (72 points = 1 inch)
Constructors
- PdfPageSize.custom({required double width, required double height, String? name})
-
Create a custom page size
widthandheightare in points (72 points = 1 inch)factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Convert to a map for passing to native platforms
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- a3 → const PdfPageSize
- A3 page size: 297mm x 420mm (11.69" x 16.54")
- a4 → const PdfPageSize
- A4 page size: 210mm x 297mm (8.27" x 11.69")
- a5 → const PdfPageSize
- A5 page size: 148mm x 210mm (5.83" x 8.27")
- legal → const PdfPageSize
- US Legal page size: 8.5" x 14"
- letter → const PdfPageSize
- US Letter page size: 8.5" x 11"
- tabloid → const PdfPageSize
- US Tabloid page size: 11" x 17"