Showing
1 changed file
with
5 additions
and
0 deletions
| @@ -61,4 +61,9 @@ class PDFPageFormat { | @@ -61,4 +61,9 @@ class PDFPageFormat { | ||
| 61 | 61 | ||
| 62 | PDFPageFormat get portrait => | 62 | PDFPageFormat get portrait => |
| 63 | height >= width ? this : PDFPageFormat(height, width); | 63 | height >= width ? this : PDFPageFormat(height, width); |
| 64 | + | ||
| 65 | + @override | ||
| 66 | + String toString() { | ||
| 67 | + return "${width}x${height}"; | ||
| 68 | + } | ||
| 64 | } | 69 | } |
-
Please register or login to post a comment