1. ATK Gimmy Susan
  2. PowerBuilder
  3. Monday, 6 April 2020 08:36 AM UTC
Good morning
I need to generate a pdf of the contents of the richtexteditcontrol control.
These may be the possibilities.
I saw that it does not have the saveas feature in pdf mode.
Thank you early for the answer.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 6 April 2020 19:27 PM UTC
  2. PowerBuilder
  3. # 1

Hi Gimmy;

   New for PB 2019 R2 ... "The RichText DataDataWindow that uses the TX Text Control can now directly generate PDFs using the DataWindow SaveAs function, for example, dw_1.SaveAs ("c:\dw_one.pdf", PDF!, false)."

   So why not switch over from using the RTE Control to the RT DWO instead?

Food for thought.
Regards ... Chris

Comment
  1. ATK Gimmy Susan
  2. Tuesday, 7 April 2020 08:20 AM UTC
Hi Chris.



Nice solution, but how can i convert: rte1.InputFieldInsert ( ColumnName ) ?

dw_1.InputFieldInsert ( ColumnName ) is not supported.



In particolar:

1. I create my external richtext dw with my fields,

2. i set my document ( rtn = dw_1.InsertDocument(PathName, TRUE,FileTypeRichText!) )



after that the inputfield go away.

=)
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 8 April 2020 16:06 PM UTC
Hi Gimmy ... with the RT DWO you don't need the InputFieldInsert () command as you are mapping input fields in the DW Painter via the insert column and its placement.
  1. Helpful
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.