Class PrintUtil
java.lang.Object
com.logicaldoc.gui.common.client.util.PrintUtil
Some printing utility methods
- Since:
- 8.6.1
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidprintPreview(String title, com.smartgwt.client.widgets.Canvas canvas) static voidprintPreview(String title, String htmlContent) static voidstatic voidprintScreenShot(String id, String title) static voidprintScreenShot(String id, String title, String printLabel, String closeLabel) Uses Javascript to take a screenshot of a canvas and prints it
-
Method Details
-
printPreview
-
printPreview
-
printScreenShot
-
printScreenShot
-
printScreenShot
Uses Javascript to take a screenshot of a canvas and prints it- Parameters:
id- identifier of the canvastitle- title of the windowprintLabel- title of the print buttoncloseLabel- title of the close button
-