
Sets font size for upcoming text elements
Member of PRIM_PDF (PRIM_PDF)
Parameters
Name | Type | Data Type | Description |
---|---|---|---|
Size | *Input | Integer | Font size in points |
Details
Sets font size for upcoming text elements.
Example
Set the font size
Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait) #pdf.start #pdf.setFontSize Size(12) #pdf.text Text('Hello world!') Left(10) Top(10) #pdf.save Filename('myReport.pdf')
See also
LANSA Version 15, April 2020