You are not logged in.
Pages: 1
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
Pages: 1