Olivier_Desmars
Member
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 :
chPdfBoxdfBox:FileName = "c:\MyFile.pdf".
chPdfBoxdfBox:BeginDoc.
chPdfBoxdfBox:TextOut = 200,300,"Hello world".
chPdfBoxdfBox: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
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 :
chPdfBoxdfBox:FileName = "c:\MyFile.pdf".
chPdfBoxdfBox:BeginDoc.
chPdfBoxdfBox:TextOut = 200,300,"Hello world".
chPdfBoxdfBox: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