PRIM_PDF - line Method

Draws a line on the current page

Member of PRIM_PDF (PRIM_PDF)

Parameters

Name

Type

Data Type

Description

Left

*Input

Float

Starting X coordinate against left edge of the page

Top

*Input

Float

Starting Y coordinate against upper edge of the page

Right

*Input

Float

Ending X coordinate against left edge of the page

Bottom

*Input

Float

Ending Y coordinate against upper edge of the page

Details

Draws a line on the current page of the PDF document.

Example

Draw a line.

     Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait) 

#pdf.start

#pdf.setDrawColor Color(Theme500)
#pdf.line Left(10) Top(10) Bottom(10) Right(180)

#pdf.save Filename('myReport.pdf')

See also

All Component Classes

Technical Reference

  • No labels