fHeight

The printed height. The value is in dots, and the actual height depends on the dots per inch (DPI) of the printer. Pass a 0 to let the method calculate the width. If only the width or only the height is specified, the method will calculate the remaining dimension. If 0 is passed for both the width and the height, the method calculates the maximum dimensions that fit on the page while preserving the aspect ratio.