Sets the display mode options
Member of PRIM_PDF (PRIM_PDF)
Name | Type | Data Type | Description |
---|---|---|---|
Zoom | *Input (Optional) | Unicode String | Zoom level |
Layout | *Input (Optional) | Enumeration | Page layout |
Sets the display mode options of the page like zoom and layout.
Set the display mode options
Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait) #pdf.start #pdf.setDisplayMode Zoom('150%') Layout(Continuous) #pdf.text Text('Hello World!') Left(10) Top(10) #pdf.save Filename('myReport.pdf')
Enum Value | Description |
---|---|
Continuous | Continuous scroll (default) |
Single | Single page shows one page at the time |
TwoLeft | Two column left mode, first page starts on the left |
TwoRight | Pages are laid out in two columns, with the first page on the right |
LANSA Version 15, April 2020