Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

pdf

Posted on 2010-08-17
4
Medium Priority
?
253 Views
Last Modified: 2013-11-23
I want to resize a pdf generated from java code using itext on body load.
0
Comment
Question by:mahalasa
4 Comments
 
LVL 2

Accepted Solution

by:
jayaram13 earned 2000 total points
ID: 33463563
You can't.  You'll need iText to effectively operate on the client side - which isn't possible.  Instead, you can get the new page size, make an AJAX call to the server, fetch a resized PDF back and render it instead.  This would have the same effect of what you're trying to achieve.
0
 

Author Comment

by:mahalasa
ID: 33466070
any code snippet  for this would be appreciated
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 36541470
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question