View.setScaledToFit


setScaledToFit(isScaledToFit)

Fixes the scale and zoom factors such that the model is as large as possible. The maximum extent of the model is determined by the window size in working mode, and the page size in page layout mode. In both cases, this size is reduced by any borders currently in force. Note that scaled to fit is a 'mode' or 'state'. Therefore, whilst in effect, subsequent model creation/modification will cause further scale calculations.

isScaledToFitboolean
Return valuenone 

See also setPageLayoutMode setPageSize setScale setZoom scaleToFit

Back to View

Back to Overview