beautypg.com

Dom.playplugin(), Dom.setrulerorigin(), Dom.setrulerunits() – Adobe Dreamweaver API Reference CS5 User Manual

Page 413

background image

408

DREAMWEAVER API REFERENCE

Design

Last updated 8/27/2013

dom.playPlugin()

Availability
Dreamweaver 3.

Description
Plays the selected plug-in item.

Arguments
None.

Returns
Nothing.

Enabler
See “

dom.canPlayPlugin()

” on page 499.

dom.setRulerOrigin()

Availability
Dreamweaver 3.

Description
Sets the origin of the ruler.

Arguments
xCoordinate, yCoordinate

The xCoordinate argument is a value, expressed in pixels, on the horizontal axis.

The yCoordinate argument is a value, expressed in pixels, on the vertical axis.

Returns
Nothing.

dom.setRulerUnits()

Availability
Dreamweaver 3.

Description
Sets the current ruler units.

Arguments
units

The units argument must be

"px"

,

"in"

, or

"cm"

.