![MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference Download Page 401](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-dreamweaver-api/dreamweaver-mx-2004-dreamweaver-api_reference_3336554401.webp)
General editing functions
401
dom.setTextAlignment()
Availability
Dreamweaver 3.
Description
Sets the
ALIGN
attribute of the block that contains the selection to the specified value.
Arguments
alignValue
•
The
alignValue
argument must be
"left"
,
"center"
, or
"right"
.
Returns
Nothing.
dom.setTextFieldKind()
Availability
Dreamweaver 3.
Description
Sets the format of the selected text field.
Arguments
fieldType
•
The
fieldType
argument must be
"input"
,
"textarea"
, or
"password"
.
Returns
Nothing.
dom.setTextFormat()
Availability
Dreamweaver 4.
Description
Sets the block format of the selected text.
Arguments
blockFormat
•
The
blockFormat
argument is a string that specifies one of the following formats:
""
(for no
format),
"p"
,
"h1"
,
"h2"
,
"h3"
,
"h4"
,
"h5"
,
"h6"
, or
"pre"
.
Returns
Nothing.
000_DW_API_Print.book Page 401 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...