ID of the handler to scale.
PageDimensions to fit into.
Optional margins to use (in [top,right,bottom,left] format). Values here are expressed in whatever you specify for units
,
which defaults to CENTIMETERS if you leave it empty.
Optional units, defaults to CENTIMETERS.
Instructs the given handler to zoom its content so that it would fit into a page of the given dimensions. The values are in centimetres, unless you specify in the third argument to the method that the dimensions are inches.