Closed chaitanya-ramji closed 8 years ago
@chaitanya-ramji
Sorry for replying late..
you can use PDFPageSize.A4
.
let view = ...
view.frame = CGRect(origin: origin, size: PDFPageSize.A4)
do {
try PDFGenerator.generate(view, outputPath: path)
} catch {
// ....
}
but this doesn't scale the pdf, right?
Is it possible to export the view to a specific size such as Imperial or A4?