If you want to zoom in or out of a report, there is a method named zoom(ratio) that will meet this requirement.
Parameter
Example 1
If you want to enlarge the report by two times the original size, you can use the method in this way:
zoom(200)
Example 2
If you want to reduce the report size by half, you can use the method in this way:
zoom(50)