WPHorizontalLine API

The WPHorizontalLine class defines the following API properties that specify the appearance of horizontal lines in the document:

void  setAlign(String align)	/* Sets the alignment of the rule to left, right, or center. */
String  getAlign()	/* Returns the alignment of the rule:  left, right, or center. */
void  setSize(int size)	/* Sets the height of the line.  [[PS: Do you mean the length of the line?]]  */
int  getSize()	/* Returns the height of the line.  [[PS: Do you mean the length of the line?]]  *
void  setWidth(int width)	/* Sets the line width. */
int  getWidth()	/* Returns the line width. */
void  setColor(Color c)	/* Sets the line color.  [[PS:  Same question about Color data type.]] */
Color  getColor()	/* Returns the line color. */
See also
WordProcessor API Index
WordProcessor Object Model
WordProcessor Home Page