beautypg.com

Dreamweaver.getsnapdistance(), Dreamweaver.minimizerestoreall(), Dreamweaver.setactivewindow() – Adobe Dreamweaver API Reference CS5 User Manual

Page 188

background image

183

DREAMWEAVER API REFERENCE

Workspace

Last updated 8/27/2013

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.

Arguments
bMinimize

The bMinimize argument is a Boolean value:

true

if windows should be minimized;

false

if the minimized

windows should be restored.

Returns
Nothing.

dreamweaver.setActiveWindow()

Availability
Dreamweaver 3.

Description
This function activates the window that contains the specified document.