schZoomFit
schZoomFit(f_scale1 f_scale2[w_windowId] ) => t
Description
Performs a zoom-to-fit with the given zoom scale values. If the schematic cellview contains a sheet border, the first zoom scale value is used. The second zoom scale value is used when there is no sheet border.
Arguments
Value Returned
Examples
If the schematic cellview contains a sheet border, it is scaled to 1.0, which represents fitting the cellview bounding box to the size of the current graphic window. If the schematic cellview contains no sheet border, it is scaled 0.9, which represents fitting the cellview bounding box to 90% of the current graphic window.
schZoomFit( 1.0 0.9 )
Return to top