Package org.pdfbox.pdmodel.interactive.annotation

Examples of org.pdfbox.pdmodel.interactive.annotation.PDAnnotationRubberStamp


                for (int i=0; i < allpages.size(); i++)
                {
                    PDPage apage = (PDPage) allpages.get(i);
                    List annotations = apage.getAnnotations();
                   
                    PDAnnotationRubberStamp rs = new PDAnnotationRubberStamp();
                    rs.setName(PDAnnotationRubberStamp.NAME_TOP_SECRET);
                    rs.setRectangle(new PDRectangle(100,100));
                    rs.setContents("A top secret note");
                   
                    annotations.add(rs);
                }
               
                document.save( args[1] );
View Full Code Here

TOP

Related Classes of org.pdfbox.pdmodel.interactive.annotation.PDAnnotationRubberStamp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.