Creating Gradient Text

This program/attached code shows some interesting methods of producing gradient filled text within a picturebox.

Screen-shot

To use the code in your app, follow these steps:

  1. Create a label named txtlen with 3dappearance property set to true, visible=false
  2. Create a picturebox named pictmp with visible=false, autoredraw=true
  3. Place the module in your app.
  4. Simply call drawtxt function.

That’s all that there is to it!

Download zipped project file

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read