beautypg.com

Dom.getshowtracingimage(), Dom.getshowwordwrap(), Dom.getsnaptogrid() – Adobe Dreamweaver API Reference CS5 User Manual

Page 164

background image

159

DREAMWEAVER API REFERENCE

Workspace

Last updated 8/27/2013

dom.getShowTracingImage()

Availability
Dreamweaver 3.

Description
This function gets the current state of the View > Tracing Image > Show option.

Arguments
None.

Returns
A Boolean value:

true

indicates the option is on;

false

otherwise.

dom.getShowWordWrap()

Availability
Dreamweaver 4.

Description
This function determines whether word wrap is on in the Code view of the document window.

Arguments
None.

Returns
A Boolean value:

true

if word wrap is on;

false

otherwise.

dom.getSnapToGrid()

Availability
Dreamweaver 3.

Description
This function gets the current state of the View > Grid > Snap To option.

Arguments
None.

Returns
A Boolean value:

true

indicates that the snap-to-grid option is on;

false

otherwise.