#1 2016-01-21 18:10:25

jeanmilost
Member
Registered: 2016-01-21
Posts: 35

Z ordering question

Hello,

I need to draw a text above a red rect inside a PDF document. I created a TPdfDocument, then I use the TCanvas provided by the VCLCanvas property to draw the rect and the TPdfCanvas provided by the Canvas property to draw the text. In my code, I paint first the rect, then the text, so normally the output PDF should show a text above a red rect. However the opposite is happening: The text is drawn below the red rect.

Using the above described configuration, is there a way to notify the PDF document that the red rect should be drawn first, and the text above it? (Or in other words, to notify that the VCLCanvas content should be painted first, then the PDF canvas over it?)

Regards

Offline

#2 2016-01-22 08:36:04

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,183
Website

Re: Z ordering question

Are you using the latest version of the library?

Current is 1.18.2287 from our main repository.

Offline

Board footer

Powered by FluxBB