DrawBitmap and Z-Order

  • 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

    • Offizieller Beitrag

    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.