The following example sets the value of the current view's scale to 50%:
dreamweaver.activeViewScale = 0.50;
dreamweaver.fitAll()
Availability
Dreamweaver 8.
Description
This function zooms in or out so that the entire document fits in the currently visible portion
of the Design view.
Arguments
None.
Returns
Nothing.
Enabler
See
"dreamweaver.canZoom()" on page
Example
if (canZoom()){
fitAll();
}
dreamweaver.fitSelection()
Availability
Dreamweaver 8.
Description
This function zooms in or out so that the current selection fits in the currently visible portion
of the Design view.
Arguments
None.
Returns
Nothing.
574.
Zoom functions
465
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?