Display Rotated Text in a Picture Box or Window

Category:
Screen/Graphics
Type:
Modules
Difficulty:
Intermediate
Author:
Dennis Burns

Version Compatibility: Visual Basic 6

More information:
The module and sample program show you how to rotate text to any angle. The code in cludes a function that uses api calls to paint your rotated text in the area specified by the handle you pass. Works on 95 and 2K. This code could be used to build a rotatable label or edit box. If you do so let me know.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download fontrotate.zip