Hi Anatoliy,
Thanks a lot for the ideas. I will look into them.
Steven
>Hi Steven,
>
>In July issue of FoxPro Advisor there's an article of Christof Wollenhaupt (a.k.a. Christof Lange) "Using GDI+ in the VFP 9 Report Writer" -- take a look, it's very close to the subject of your message.
>
>On my web site
http://www.news2news.com/vfp I have several code samples showing how to create bitmap files. GDI API functions allow to create blank memory bitmaps, set their dimensions, draw on them and save to bitmap files. Of course it requires certain amount of program code.
>
>For example, one code sample on my web site explains how to create bitmap with text message and dynamically assign it to the Picture property of a CommandButton control. This way you can create command buttons with vertical text in all versions of Visual FoxPro.
>
>More advanced GDI+ graphics library (WinXP/Win2K/Win2003) is generally more powerful, works with larger amount of image formats etc. That FoxPro Advisor article I mentioned just explains how new Report Writer exposes the Graphics object, which is the GDI+ core object (like a canvas).
>
>It seems too many words already :) Here is a list of code samples. Though all of them are published in members area and require subscription.
>
>
Vertical Label control>
http://www.news2news.com/vfp/?example=398>
>
Subclassing CommandButton control to create BackColor property>
http://www.news2news.com/vfp/?example=392>
>
Storing screen shot of a form to a bitmap file>
http://www.news2news.com/vfp/?example=187>
>
Storing screen shot of a form to enhanced metafile (*.emf)>
http://www.news2news.com/vfp/?example=402>
>
GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF)>
http://www.news2news.com/vfp/?example=454