setupPaperSize Function
open external fun setupPaperSize(paperSize: ImageWriter.Paper.Size, orientation: ImageWriter.Paper.Orientation)
Sets the output page size from a standard paper size.
Parameters
- paperSize — the paper size to use
- orientation — whether to lay it out portrait or landscape