View.setScale


setScale(scale)

To draw the model at a known scale. For example, if the scale is specified as 1:1 and the model length units are metres, a line of length 0.1 will be drawn 10cm long. Note that in working mode, this 10cm relates to the size on the screen, whilst in page layout mode it relates to the size on the final printed page. Setting the scale factor automatically switches off scaled to fit mode. By default the image will be centred on the page or window but this is under user control. Note that in Working Mode the effects of zoom and scale are very similar. However in Page Layout Mode, zooming affects both model and page together relative to the window, whilst scaling affects the model size relative to the page size. Scaling automatically turns off scaled to fit mode.

scaledouble
Return valuenone 

See also setScaledToFit setZoom setPageLayoutMode moveModelOnPage

Back to View

Back to Overview