JR_SVY_VIEWER_DISPLAY_MODE

Overview

The JR_SVY_VIEWER_DISPLAY_MODE class defines constants for configuring the display mode of a JasperReports viewer in Servoy. The modes include FIT_WIDTH, FIT_PAGE, and ACTUAL_PAGE_SIZE, allowing developers to control how reports are rendered in the viewer.

Constants Summarized

Constants Detailed

ACTUAL_PAGE_SIZE

Type String

Sample

elements.jrbean.displayMode = JR_SVY_VIEWER_DISPLAY_MODE.ACTUAL_PAGE_SIZE;
elements.jrbean.showReport(myDataSource,\"/myReport.jrxml\",null);

FIT_PAGE

Type String

Sample

elements.jrbean.displayMode = JR_SVY_VIEWER_DISPLAY_MODE.FIT_PAGE;
elements.jrbean.showReport(myDataSource,\"/myReport.jrxml\",null);

FIT_WIDTH

Type String

Sample

elements.jrbean.displayMode = JR_SVY_VIEWER_DISPLAY_MODE.FIT_WIDTH;
elements.jrbean.showReport(myDataSource,\"/myReport.jrxml\",null);

Last updated