User Guide
Window functions 235
dreamweaver.getPrimaryView()
Availability
Dreamweaver 4.
Description
This function determines which view is visible as the primary view in the front.
Arguments
None.
Returns
The "design" or "code" strings, depending on which view is visible or on the top in a split
view.
dreamweaver.getSnapDistance()
Availability
Dreamweaver 4.
Description
This function returns the snapping distance in pixels.
Arguments
None.
Returns
An integer that represents the snapping distance in pixels. The default is 10 pixels; 0 indicates
that the Snap feature is off.
dreamweaver.minimizeRestoreAll()
Availability
Dreamweaver 4.
Description
This function minimizes (reduces to an icon) or restores all windows in Dreamweaver.
000_DW_API_Print.book Page 235 Wednesday, July 20, 2005 11:58 AM