/
AddLine Method

AddLine Method

Draws a line on the current page.


Object.AddLine(x0, y0, x1, y1, lnWidth
                [, lnPattern [, tnRotation [, tnRotationPoint 
                [, tcLinkName [, tcLinkRef [, tcTooltip 
                [, tnRotationXOffset [, tnRotationYOffset]]]]]]]]
               )
XFRX 21.0
Object.AddLine(x0, y0, x1, y1, lnWidth
                [, lnPattern [, tnRotation [, tnRotationPoint 
                [, tcLinkName [, tcLinkRef [, tcTooltip]]]]]]
               )
XFRX 21.1
Object.AddLine(x0, y0, x1, y1, lnWidth
                [, lnPattern [, tnRotation [, tnRotationPoint 
                [, tcLinkName [, tcLinkRef [, tcTooltip 
                [, tnRotationXOffset [, tnRotationYOffset]]]]]]]]
               )

Parameters

X0, Y0
  The X,Y coordinates of the start point of the line.

X1, Y1
  The X,Y coordinates of the end point of the line.

lnWidth
  The line width in points. 0 represents hairline. Optional, default value = 1.

lnPattern
   The border line pattern:

Value
Description
0no border
1dotted
2dashed
3dash-dot
4dash-dot-dot
8solid line (default value)


tnRotation  
 The line rotation angle in degrees. The linel will be rotated counterclockwise. Optional, default value = 0.

tnRotationPoint

   The point within the rectangl