You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

PRIM_PDF - text Method
Adds text to the page
Member of PRIM_PDF (PRIM_PDF)

Parameters

Name

Type

Data Type

Description

text

*Input

Unicode String

Text to add to the page

Left

*Input

Float

Starting X coordinate against left edge of the page

Top

*Input

Float

Starting 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

  • No labels