PRIM_PDF - text Method

Adds text to the page

Member of PRIM_PDF (PRIM_PDF)

Parameters

NameTypeData TypeDescription
text*InputUnicode StringText to add to the page
Left*InputFloatStarting X coordinate against left edge of the page
Top*InputFloatStarting Y coordinate against upper edge of the page

Details

Adds text to the page.

Example

Add text.
Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait)
 
#pdf.start
 
#pdf.text Text('Hello world!') Left(10) Top(10)
 
#pdf.save Filename('myReport.pdf')
 


 
 

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020