User Guide

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