Solved

pdf

Posted on 2010-08-17
4
232 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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)
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…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now