DrawLine Method

Draws a line on the current page.


Object.DrawLine(tnXPos, tnYPos, tnXToPos, 
                tnYToPos [, tnLineWidth [, tnPenPattern ]]
               )
XFRX 21.0
Object.DrawLine(tnXPos, tnYPos, tnXToPos, 
                tnYToPos [, tnLineWidth [, tnPenPattern 
                [, tnRotate [, tnRotationPoint [, lcCurveData
                [, tcLinkName [, tcLinkRef [, tcTooltip ]]]]]]]]
               )
XFRX 21.1
Object.DrawLine(tnXPos, tnYPos, tnXToPos, 
                tnYToPos [, tnLineWidth [, tnPenPattern 
                [, tnRotate [, tnRotationPoint [, lcCurveData
                [, tcLinkName [, tcLinkRef [, tcTooltip 
                [, tnRotationXOffset [, tnRotationYOffset ]]]]]]]]]]
               )

Parameters

tnXPos, tnYPos
  The X,Y coordinates of the start point of the line.

tnXToPos, tnYToPos
  The X,Y coordinates of the end point of the line.

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

tnPenPattern
   The border line pattern:

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

    

   Optional, default value = 8.

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

tnRotationPoint

   The point within the rectangle around which the line is rotated. The allowed values are 0..8, optional, default value = 0 (left, top). Please see the picture on the right for the point positions.

lcCurveData
 Internal - curve data.

tcLinkName
  If this parameter is filled, the text will be a named target of a hyperlink. (see tcLinkRef parameter).

tcLinkRef
  If this parameter is filled, the text will be a hyperlink. It will navigate to a target with tcLinkRef name.

tcTooltip
   The tooltip displayed when hovering mouse over this image.

tnRotationXOffset
 Rotation X Offset in foxels from the left top corner. 

tnRotationYOffset
 Rotation Y Offset in foxels from the left top corner.

Remarks

XFRX version: 17.3 (for XFRX#XML)

Applies To: XFRX#DRAW, XFRX#XML