Re: RubberstampWithImage

2018-04-30 Thread JZ Q
Hi Tilman, The flag does the trick. Thank you for the quick solution. Jason On Mon, Apr 30, 2018 at 2:19 PM, Tilman Hausherr wrote: > If it is an annotation, then set the print flag > > setPrinted(true) > > Tilman > > Am 30.04.2018 um 17:01 schrieb JZ Q: > >> Dear Tilman, >> >> Using a sizing

Re: Is this class missing ---PDPatternContentStream

2018-04-30 Thread Tilman Hausherr
Am 30.04.2018 um 19:51 schrieb Arthur Wang: Hi, all, when I am trying to compile this sample source code based on PDBox 2.0.9, https://svn.apache.org/repos/asf/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePatternsPDF.java that's the trunk. For 2.0.9, use t

Re: RubberstampWithImage

2018-04-30 Thread Tilman Hausherr
If it is an annotation, then set the print flag setPrinted(true) Tilman Am 30.04.2018 um 17:01 schrieb JZ Q: Dear Tilman, Using a sizing parameter solved the problem. Thank you. I found out the rubberstamp does not get printed, even if it is visible in PDF reader? Why? On the print dialog, I

Is this class missing ---PDPatternContentStream

2018-04-30 Thread Arthur Wang
Hi, all, when I am trying to compile this sample source code based on PDBox 2.0.9, https://svn.apache.org/repos/asf/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePatternsPDF.java my eclipse report: the import of this class can not be resolved. Any hint to solve

Re: RubberstampWithImage

2018-04-30 Thread JZ Q
Dear Tilman, Using a sizing parameter solved the problem. Thank you. I found out the rubberstamp does not get printed, even if it is visible in PDF reader? Why? On the print dialog, I have selected to print stamp. Thanks. Jason On Mon, Apr 30, 2018 at 6:54 AM, Tilman Hausherr wrote: > In the

Re: RubberstampWithImage

2018-04-30 Thread Tilman Hausherr
In the drawXObject call, divide / multiply the size parameters by a float value, e.g. 0.5. TilmaN Am 30.04.2018 um 03:35 schrieb JZ Q: Hi everyone, I used a lightly modified example code (RubberstampWithImage) to add rubber stamp to a text field. it works fine except the resolution of image