Specifies the number of pages in the print output.
AbstractGraph that should be printed.
Optional
pageFormat: RectangleOptional Rectangle that specifies the page format. Default is <mxConstants.PAGE_FORMAT_A4_PORTRAIT>.
The border along each side of every page.
Returns the scale to be used for printing the graph with the given bounds across the specifies number of pages with the given format. The scale is always computed such that it given the given amount or fewer pages in the print output. See PrintPreview for an example.