PRIM_PDF - setLineWidth Method

Sets the line width for upcoming lines

Member of PRIM_PDF (PRIM_PDF)

Parameters

NameTypeData TypeDescription
Width*InputFloatLine width

Details

Sets the line width for upcoming lines.

Example

Set the line width
Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait)
 
#pdf.start
 
#pdf.setLineWidth Width(0.5)
#pdf.line Left(10) Top(10) Right(150.5) Bottom(10)
 
#pdf.save Filename('myReport.pdf')
 

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020