on 10-12-2007 9:24 AM
Hi Experts,
Is there any way to hide the layout during printing? I have developed a PDF form with complex layout. I want our Customers view the form in print preview and see that all the values are correctly aligned within the boxes before printing. But they print this form on a pre-printed paper (which already has the layout) so I want to make sure that only fields which are binded to a data item are printed and not the layout and static texts. Is this possible?
Regards,
Srini.
Hi,
Try this code:
<object>.presence = "visible"; //this makes the object visible in the form
<object>.relevant = "-print"; //this object will not be printed
The relevant property indicates whether an object should appear when the form is printed.
● +print (default for visible objects)
Forces a particular object to appear when the form is printed,
regardless of the objects presence property setting.
● -print (default for invisible or hidden objects)
Forces an object not to appear when the form is printed,
regardless of the objects presence property setting.
Regards
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.