PRIM_PDF - setLineWidth Method
Sets the line width for upcoming lines
Member of PRIM_PDF (PRIM_PDF)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Width | *Input | Float | Line 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')