Sinisterly
Label text glow - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework)
+--- Thread: Label text glow (/Thread-Label-text-glow)



Label text glow - Cyb3rNuX - 08-08-2017

So i have just regular label and i want it to glow in black color.

Any ideas how to do this? I think it has to do something with GDI+, whatever that means xD

[Image: lOL2pOU.png]


RE: Label text glow - Asura - 08-08-2017

Well, if you have Photoshop, you can add an outer glow. I don't remember exactly how to do it but I've done it for one of my signatures. Don't have it on currently because of Photobucket. I used Photoshop CS5 to do it.


RE: Label text glow - Cyb3rNuX - 08-08-2017

(08-08-2017, 08:22 AM)Asura Wrote: Well, if you have Photoshop, you can add an outer glow. I don't remember exactly how to do it but I've done it for one of my signatures. Don't have it on currently because of Photobucket. I used Photoshop CS5 to do it.

I need to make it glow through coding, not other software.


RE: Label text glow - DarkByte7 - 08-09-2017

(08-08-2017, 03:28 PM)Cyb3rNuX Wrote:
(08-08-2017, 08:22 AM)Asura Wrote: Well, if you have Photoshop, you can add an outer glow. I don't remember exactly how to do it but I've done it for one of my signatures. Don't have it on currently because of Photobucket. I used Photoshop CS5 to do it.

I need to make it glow through coding, not other software.

You have to draw the label using multiple layers.
The first layer you draw the text as a shadow/glow.
The 2nd layer you draw your regular text on top of the glow.

The label control in this project can do maybe what your looking for:
https://github.com/DarkByte7/VisualPlus/blob/beta/VisualPlus/Toolkit/Controls/VisualLabel.cs

Here you can read more up on GDI+ (Graphics Device Interface):
http://www.c-sharpcorner.com/article/gdi-tutorial-for-beginners/