foliojs/pdfkit

how to set the orientation to landscape

heimiguoguo opened this issue · 1 comments

        doc.image(imagePath, {
            orientation: 'landscape',
            fit: [500, 300],
            align: 'center',
            valign: 'center'
        });

this is my code, but it doesn't work, please point out the right way