Re: How do I create a bitmap with text?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Tony Steward wrote:
> 
> Hello,
> Is it possible to creat a bitmap and write text on it within EU using 
> Win32lib.

Yes. Look at the win32lib demo called "bitmaptext.exw"
 
> What I want to do is get data from database, convert the word retrieved 
> into a bitmap and display as bitmap in eugrid thus allowing me to write 
> sideways for the column headers.

This sounds different from writing onto a bitmap. Are you wanting to create a
bitmap from a word? This is done in a similar manner. Just create a PixMap, then
fill it's background color, write your word into it and then save it as a bitmap.
You will have to calculate the size of it using the text extent function.


-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu