Draws a simple vertical or horizontal line on the form.
Lines are useful for visually separating
parts of a page.
Available options
border, borderinfo, fontcolor, fontinfo, itemlocation,
itemnext, itemprevious, printfontcolor, printvisible, size, thickness,
visible, xformsenabled
Example
This
is an example of a horizontal line with a thickness of five pixels:
<line sid="BLUE_LINE">
<size>
<width>40</width>
<height>0</height>
</size>
<thickness>5</thickness>
</line>
Usage details
- Specify the dimensions of a line using the size and thickness options. The size option determines whether the line is vertical or
horizontal. If the horizontal dimension is set to zero, then the line
is vertical. If the vertical dimension is set to zero, then the line
is horizontal. Size is calculated in characters.
- The thickness option determines
how thick the line will be. Thickness is calculated in pixels.
- The fontinfo option information
is used when calculating the line's size. The size option's unit of measurement is characters; therefore, choice of
font can affect the size. See the size option
for more information.
- The fontcolor option defines
the color of the line.