HPDFPRINT UNICODE Background color

HMG en Español

Moderator: Rathinagiri

Post Reply
Georg_BA
Posts: 106
Joined: Fri Apr 07, 2017 5:31 pm
DBs Used: DBF

HPDFPRINT UNICODE Background color

Post by Georg_BA »

Hello everyone
I needed to help with HPDFPRINT UNICODE
If I use HPDFPRINT the background color remains
For HPDFPRINT UNICODE is white

Source
@ Px-1.10 HPDFPRINT RECTANGLE to px + 5-1,205 color {c1, c2, c3} filled
@ Px, 10 HPDFPRINT str (i_pria, 3.0) + '.' To px, 16 FONT "Helvetica" SIZE 7
@ Px + 4-1,10 HPDFPRINT RECTANGLE to px + 10-1,205 color {c1, c2, c3} filled
@ Px + 3, 37 HPDFPRINT UNICODE s_nach to px + 9, 88 FONT "ArialUni" size 9

Thank you for your help
Attachments
Screenshot_4.jpg
Screenshot_4.jpg (28.85 KiB) Viewed 2480 times
edk
Posts: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: HPDFPRINT UNICODE Background color

Post by edk »

Hi.
In fact, the UNICODE text in HPDF is a graphic.
See function _HMG_HPDF_MULTILINE_PRINT_UNICODE() in the source "h_HMG_HPDF_UNICODE.PRG"
The background color of the image is set to WHITE rigidly.
You can try to do your own function based on this source to add an additional parameter as the background color.
Georg_BA
Posts: 106
Joined: Fri Apr 07, 2017 5:31 pm
DBs Used: DBF

Re: HPDFPRINT UNICODE Background color

Post by Georg_BA »

Thanks for help
I have adapted this feature
I have to change the names of functions in "hmg_hpdf.ch"
Post Reply