hi,

a pdf page has some text and image

add watermark, watermark appear on top text and image

doc.Load("D:\\test.pdf");
PdfExtGState gstate(&doc);
pPage = doc.GetPage(0);
painter.SetPage(pPage);
painter.SetFont(pFont);
gstate.SetFillOpacity(0.5);
gstate.SetStrokeOpacity(0.5);
painter.SetExtGState(&gstate);
painter.Save();
painter.DrawText(100, 100, "test test test test test test test test 
test");

how to add watermark appear at front text but behind image?


thanks
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to