User Guide

466 Design
Enabler
See dreamweaver.canFitSelection()” on page 568.
Example
if (canFitSeletion()){
fitSelection();
}
dreamweaver.fitWidth()
Availability
Dreamweaver 8.
Description
This function zooms in or out so that the entire document width fits in the currently visible
portion of the Design view.
Arguments
None.
Returns
Nothing.
Enabler
See dreamweaver.canZoom()” on page 574.
Example
if (canZoom()){
fitWidth();
}
dreamweaver.zoomIn()
Availability
Dreamweaver 8.
Description
This function zooms in on the currently active Design view. The zoom level is the next preset
value in the Magnification menu. If there is no next preset value, this function does nothing.
000_DW_API_Print.book Page 466 Wednesday, July 20, 2005 11:58 AM