Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Data Type

Description

Font

*Input

Unicode String

Font name or family

Style

*Input (Optional)

Enumeration

Font style or variant

...

Example

Set the font and style

     Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait)

     #pdf.start

     #pdf.setFont Font('Verdana') Style(Italic)
     #pdf.text Text('Hello world!') Left(10) Top(10)

     #pdf.save Filename('myReport.pdf')

Style Allowed Values

Enum Value

Description

Normal

Normal font style

Bold

Bold font style

Italic

Italisized font style

BoldItalic

Bold and italisized font style


 See See also

All Component Classes

Technical Reference