PDF OCX Method Syntax under Progress V9

Hi all,

I'm using Progress V9.1B and was trying a nice PDF file generator called PDF-In-The-Box, which is available as a shareware OCX.

Well, it's quite easy to use (and seems quite fast), but I have a problem with one of the method called 'TextOut' which is the method used to write text in your PDF file. This Method requires three arguments : The X coordinate, the Y coordinate and the text itself. Here's the example given in the help file :

"Here is a minimal example of TPdfBox use :

With PdfBox1

.FileName = "c:\MyFile.pdf"
.BeginDoc
.TextOut 200, 300, "Hello world !"
.EndDoc
End With
"

I could easily translate this under Progress as :

chPdfBox:pdfBox:FileName = "c:\MyFile.pdf".
chPdfBox:pdfBox:BeginDoc.
chPdfBox:pdfBox:TextOut = 200,300,"Hello world".
chPdfBox:pdfBox:EndDoc.

But of course the third line (TextOut) is not accepted by Progress. What is the right syntax under Progress for this kind of method ?

Cheers :)
 
Ok someone mailed me the solution (thx !) , so I put here :

The corresponding syntax under Progress is :

chPdfBox:pdfBox:Textout (200,300,"Hello World").

Maybe it could help someone else.

Thx to all


:)
 
Top