rking wrote: > You can just lock the annotation? Does this still allow the rest of the pdf > to be manipulated (pages to be added/removed/combined)? Can you point me to > somewhere with general information on how to lock the annotation?
See table 165 in ISO 32000-1 (bit position 8). In iText, you need set the constant value PdfAnnotation.FLAGS_LOCKED to the flags with setFlags() if you're creating the annotation from scratch, or you need to update the /F key in the annotation dictionary if you're manipulating an existing document. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
