If you want to zoom in on a report result, the zoom(ratio) method can satisfy your requirement. The parameter ratio is of integer type, and represents a percentage value.
If you want to enlarge the report to two times the original size, you can call this method as follows:
zoom(200)
If you want to reduce the report size by half, you can call this method as follows:
zoom(50)
Reference: See TestDirectViewerExport.java and TestRunViewerExport.java in <install_root>\help\samples\APIClient\ViewerBean
.