Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Draws a line on the current page.


Object.DrawLine(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

    

   Optional, default value = 8.

tnRotation  
 The line rotation angle in degrees. The linel will be rotated counterclockwise. Optional, default value = 0 (since XFRX 21.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 (since XFRX 21.0).

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

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

tcTooltip
   The tooltip displayed when hovering mouse over this image. (since XFRX 21.0)

tnRotationXOffset
 Rotation X Offset in foxels from the left top corner. (since XFRX 21.1)

tnRotationYOffset
 Rotation Y Offset in foxels from the left top corner. (since XFRX 21.1) 

Remarks

Applies To: PDFL#INIT


  • No labels