User Guide

Toggle functions 205
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.
dom.setEditNoFramesContent()
Availability
Dreamweaver 3.
Description
This function toggles the Modify > Frameset > Edit NoFrames Content option on and off.
000_DW_API_Print.book Page 205 Wednesday, July 20, 2005 11:58 AM