Re: How do I create a bitmap with text?
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 25, 2005
- 482 views
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