Print Text into a Picture Box Allowing for Different Alignments/Font Sizes

Category:
String Manipulation
Type:
Modules
Difficulty:
Intermediate
Author:
edward moth

Version Compatibility: Visual Basic 5

More information:
Finds the most appropriate font size to display a piece of Text in a PictureBox. Allows user to determine the Alignment of the text (Left, Right, Centre or Full justification). Options to include a drop shadow, and the direction of the shadow are also included. Includes demo project with example.

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 texttopicture.zip