Solved

pdf

Posted on 2010-08-17
4
241 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 500 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 59

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
egit plugin on eclipse 8 82
MySQL  on Tomcat 8 71
Running JavaFX on JDeveloper 12C 1 55
How to determine if a string is a valid SHA value 7 36
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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.

820 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