How to generate a Landscape PDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2020 08:56 AM
- Labels:
-
Employee Document Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2020 09:17 AM
Hi dbasi
check in following thread post of shubh1992 .
If it help mark helpful or correct
Thanks and regards
Anil

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2020 09:22 AM
Hi
Here is the example of the OOB NDA example printed out:
Regards,
Mike

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2020 09:35 AM
Hi
Did you try passing the true as the parameter to GeneralPDF.document method.
like this replace null with true and try.
var pdfDoc = new GeneralPDF.Document(true, null, null, null, pageSize, headerImage);
also in the GeneralPDF.Document function, change this.landscape= false to
this.landscape = true;
As per the method documentation it should help you generate PDF in landscape mode.
Let me know if it works and please mark my response as CORRECT & HELPFUL if it answered your question.
Thanks & Regards,
Sharjeel
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2020 03:14 AM