WPCubed Product Support

DrawBitmap and Z-Order

support

Hi,

you can draw your bitmaps to wPDF.Canvas with usual GDI commands.

If you use DrawBitmap the Z-Order is the order this function is are called.(The former is overwritten be the latter)

If you use DrawBitmap and also Canvas... you need to call CloseCanvas so all the output to the Canvas is exported before the bitmap you need to draw.

#3 ♥ 0
5.2k Views 2 users read 1 min

Hi,
If you don't have any solution for controle z-order of DrawBitmap, I will try to convert my Bitmap into a TJPEGImage and after use DrawJPG function.
But, I don't know how to use this function, can you show me an example with a TJPEGImage please ?
Regards

#2 ♥ 0

Hi
I just migrated my application with WPDF 4.0 and I want to know if there is a way to control Z-Order of the DrawBitmap function like in the DrawJPG with OnCanvasMode ?

Regards
Alex

#1 ♥ 0