JMap.Application.Print.getAllPaperFormats
Returns all available paper formats.
Different sizes are available: "letter" | "legal" | "a3" | "a4".
JMap.Application.Print.getFileType
Returns the current type of the file, that is used when downloading the print.
One of the following: "png" | "jpeg" | "pdf"
JMap.Application.Print.getHiResolution
Returns true if the map export is set to hi resolution, false otherwise.
JMap.Application.Print.getPageSubTitle
Returns the subtitle displayed in the bottom of the print layout.
JMap.Application.Print.getPageTitle
Returns the title displayed in the bottom of the print layout.
JMap.Application.Print.getPaperFormat
Returns the active paper format.
JMap.Application.Print.isDateVisibile
Returns true if the date is displayed in the bottom of the print layout.
JMap.Application.Print.isNorthArrowVisible
Returns true if the north arrow is displayed in the bottom of the print layout.
JMap.Application.Print.isOrientationPortrait
Returns true if the print layout is portrait, else false (landscape).
JMap.Application.Print.isScaleControlVisible
Returns true if the scale control widget is visible, else false.
JMap.Application.Print.setDateVisibility
Sets the date visible or hidden in the bottom of the print layout.
true to display, false to hide
JMap.Application.Print.setFileType
Sets the type of file used when downloading the print.
"png", "jpeg", or "pdf"
JMap.Application.Print.setHiResolution
Sets the parameter determining if the map will be exported in hi resolution or not.
true or false
JMap.Application.Print.setNorthArrowVisibility
Sets the north arrow visible or hidden in the bottom of the print layout.
true to display, false to hide
JMap.Application.Print.setOrientation
Sets the print layout orientation as portrait or landscape.
true to display as portrait, false as landscape
JMap.Application.Print.setPageSubTitle
Sets the subtitle displayed in the bottom of the print layout.
The subtitle displayed in the bottom of the print layout
JMap.Application.Print.setPageTitle
Sets the title displayed in the bottom of the print layout.
If empty string, will display no title.
The title displayed in the bottom of the print layout
JMap.Application.Print.setPaperFormat
Sets the paper format of the print layout.
Technical method, you should not use it.
JMap.Application.Print.setScaleControlVisibility
Displays or hides the scale control widget.
true to display, false to hide
JMap.Application.Print.takeCapture
Builds print image and launches downwnload of the file
JMap.Application.Print
You can manage everything related to print here.