Intro
GDI Helper is a .NET library that provides a bunch of useful GDI methods and extensions, this library can be used for multi purposes too.
Dependency
.NET Framewrok 3.5 or higher.
Contents
Methods
Extensions
How To Use
See the repository page of GDIHelper in Github (follow download link).
Download
GDI Helper
GDI Helper is a .NET library that provides a bunch of useful GDI methods and extensions, this library can be used for multi purposes too.
Dependency
.NET Framewrok 3.5 or higher.
Contents
Methods
- GetFont (e.g : for a font stored in resources).
- GetFont (e.g : for a font stored in storage).
- SetAlignment.
- GlowBrush (for GraphicsPath).
- GlowBrush (for array of points).
Extensions
- Rectangles
- RoundRec (Credits : AeonHacks).
- RoundRec (Credits : AeonHacks).
- Colors
- ToHTML.
- ToBrush.
- ToPen.
- ToRGBString.
- ToRGBAString.
- ToARGBString.
- ToHTML.
- Drawings
- DrawImageFromBase64.
- DrawColoredImage ( for drawing image in base64 string).
- DrawColoredImage (for drawing and image).
- DrawTransparentImage.
- DrawStrokedRectangle.
- DrawStrokedEllipse.
- DrawRoundedRectangleWithStroke.
- DrawImageFromBase64.
- Images
- ToBrush (without destination rectangle).
- ToBrush (with destination rectangle).
- ToPen.
- ToBase64.
- ToBrush (without destination rectangle).
- Strings
- ToImage (if the string would be an image in base64 string).
- ToColor (if the string would be a color in html, e.g : #000).
- ToBrush (if the string would be a color in html, e.g : #000).
- ToPen (if the string would be a color in html, e.g : #000).
- ToFont (if the string would be an available font name, e.g : "Arial").
- ToImage (if the string would be an image in base64 string).
How To Use
See the repository page of GDIHelper in Github (follow download link).
Download
GDI Helper



![[Image: narwinsig.gif]](https://image.ibb.co/jf6HBa/narwinsig.gif)