File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes How to set the bitmap height at runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to set the bitmap height at runtime" Watch "How to set the bitmap height at runtime" New topic
Author

How to set the bitmap height at runtime

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629



I am saving the text as a image.But whenever I get 2-3 paragraphs of text whatever image I get is not fitting into the bitmap.I am not able to see the complete text in one bitmap.
How do I increase the height of the bitmap dynamically.(i.e. It should depend on the text)

http://www.androcid.com/
chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

No reply
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Probably because it's entirely unclear what you're trying to do. You mention "text" repeatedly, yet there is no code that deals with text of any kind.
chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629



Now you can think on this code.
 
Consider Paul's rocket mass heater.
 
subject: How to set the bitmap height at runtime