- Jose Vizcaino
- PowerBuilder
- Thursday, 29 February 2024 04:46 PM UTC
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)
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.