1. Roland Smith
  2. PowerBuilder
  3. Monday, 22 January 2024 19:51 PM UTC

PowerBuilder 2022-R3

I created a text control with font Tahoma 72, Color Red, Transparency 66, Escapement 450. This is what I get when doing a SaveAs (NativePDF). Is there a way to have it not be cross-hatched? It isn't like that in the DataWindow.

In production we use a transparent PNG to overlay the Preview but it doesn't always appear correctly.

Looks like this in the painter:


Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 22 January 2024 21:18 PM UTC
  2. PowerBuilder
  3. # 1

How about try another way.  Make the DataWindow without that Preview watermark.  Then after you use generate the PDF, use the PDFBuilder classes to add the watermark to the PDF instead of adding to the DW itself.  https://docs.appeon.com/pb/whats_new/PDF_Builder_enhancements.html

  1. Roland Smith
  2. Tuesday, 23 January 2024 13:22 PM UTC
The application is build 1892 so I can't use that feature. We will likely move to R3 some time this year.

The reason for this post is that a customer has a 1600 page PDF and starting on page 347 things start to go haywire. The preview PNG is either not shown at all or has a black background instead of transparent. Some pages are missing the form image too so all we see are the text/columns.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 23 January 2024 15:42 PM UTC
When you do the DataWindow SaveAs to image does image have same problem as when you print to PDF?

And just to clarify, inside the DataWindow itself on screen when you scroll to same page on the screen it is displayed correctly but when saved to PDF it is not?
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 22 January 2024 21:09 PM UTC
  2. PowerBuilder
  3. # 2

Hi Roland;

  FWIW: I've always found using the DW technology was better at rendering this effect on the screen, printing & PDF generation. 

Regards ... Chris 

There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.