Hi all
I'm tying to write a codebar in the left border of a multy-page PDF file using PowerBuilder 2022 R3.
I Want to create a new PDFText object with an codebar font ("Free 3 of 9") and add this new object to an PDF object (test.pdf) where previously I imported the PDF file
This is working OK, but I need to ROTATE the PDFText object.
PDFdocument lpdf_document
PDFpage lpdf_pagina
PDFtext lpdf_texto
lpdf_document = create PDFdocument
lpdf_pagina = create PDFpage
lpdf_texto = create PDFtext
lpdf_document.importpdf('test.pdf')
lpdf_texto.setposition(ld_x, ld_y)
lpdf_texto.setsize( ld_width, ld_height)
lpdf_texto.font.fontname = "Free 3 of 9"
lpdf_texto.font.fontsize = 10
lpdf_pagina = lpdf_document.getpage(1)
lpdf_texto.content = ls_cod_barra1
lpdf_pagina.addcontent(lpdf_texto)
In that case you'll need to have the app that generates the PDF make those changes or ... Have your PB app take over the PDF generation where you have full control over the presentation later.
Regards ... Chris