446
Design
Arguments
tagName
■
The
tagName
argument must be
"layer"
,
"ilayer"
,
"div"
, or
"span"
.
Returns
Nothing.
Layout environment functions
Layout environment functions handle operations that are related to the settings for working
on a document. They affect the source, position, and opacity of the tracing image; get and set
the ruler origin and units; turn the grid on and off and change its settings; and start or stop
playing plug-ins.
dom.getRulerOrigin()
Availability
Dreamweaver 3.
Description
Gets the origin of the ruler.
Arguments
None.
Returns
An array of two integers. The first array item is the
x
coordinate of the origin, and the second
array item is the
y
coordinate of the origin. Both values are in pixels.
dom.getRulerUnits()
Availability
Dreamweaver 3.
Description
Gets the current ruler units.
Arguments
None.
000_DW_API_Print.book Page 446 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...