Menu

zindex of PrimitiveComposer

Help
sandro
2012-02-28
2013-01-26
  • sandro

    sandro - 2012-02-28

    How cai i set the zindex of PrimitiveComposer, so that my composer covers originals parts of pdf with pdfclown?
    this is my part of code:
          entities.Image image = entities.Image.Get(Directory.GetCurrentDirectory() + Path.DirectorySeparatorChar + "images" + Path.DirectorySeparatorChar + "blank.jpg"); // Abstract image (entity).
                // Show the image inside the common content stream!
                composer.ShowXObject(
                  image.ToXObject(document),
                  new PointF(0, 0),
                  new SizeF(
                    (float)455,
                    425
                    )
                  );

     
  • Stefano Chizzolini

    In order to add content on foreground you have to use the PageStamper class ; please see the PageNumberingSample contained in the downloadable distribution.

    Anyway, concealing contents through overlay is an awkward and ineffective practise: underlying contents can be easily detected and retrieved with most of the file readers out there. You have to remove them in the first place!

    http://clown.sourceforge.net/docs/api/org/pdfclown/tools/PageStamper.html

     

Log in to post a comment.