Android Question Content of EditText to Bitmap (and later to JPG)?

welu1805

Active Member
Licensed User
Longtime User
Hi all,

I am experimenting with formated text in EditText. In the android forums I found an example which I ported to B4A. The code is appended (RTF 2.zip).

My issue is to convert the content of the edittext to a bitmap and save it as JPG. It works good, but the problem is, only the visible part of the edittext is converted.

Is it possible to convert the whole content from beginning to the end?

Lutz
 

Attachments

  • RTF 2.zip
    2.2 KB · Views: 143

DonManfred

Expert
Licensed User
Longtime User
Is it possible to convert the whole content from beginning to the end?
No. Create a panel which is as big as the needed size. Capture this panel then.
 
Upvote 0

welu1805

Active Member
Licensed User
Longtime User
OK, but from where I know the needed size? The edittext has a height e.g. 800 pixels. The content of the edittext could be one or more pages.
 
Upvote 0
Top