Versions Compared

Key

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

...

Add a rectangle with rounded corners.

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

#pdf.start

#pdf.setDrawColor Color(Theme500)
#pdf.setFillColor Color(Theme500)
#pdf.roundedRect Left(10) Top(10) Width(50) Height(30) RadiusX(0.5) RadiusX(0.5) FillStyle(Fill)

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

FillStyle Allowed Values

Enum Value

Description

Stroke

No fill color

Fill

Fill with current set FillColor

FillAndStroke

Fill with current set FillColor and then stroke

Delay

Postpones setting the style so that a shape may be composed using multiple method calls

...