This class contains miscelleanous methods for Windows controls.
Declaration Syntax
C# | Visual Basic |
public static class Tools
Public NotInheritable Class Tools
Members
All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
AddFontToPrivateFontCollection(String, PrivateFontCollection) |
Adds a font to a private font collection.
| |
CreateCursor(Bitmap, Int32, Int32) |
Creates a cursor from bitmap.
| |
GetCapsule(RectangleF) |
Returns the capsule (GraphicsPath) of a rectangle.
| |
GetRoundedRect(RectangleF, Single) |
Gets a rectangle with rounded corners based on the rectangle passed in parameter.
| |
IsDesignTime()()()() |
Checks if the current process is in "design-time" (i.e. in Visual Studio).
| |
LoadEmbeddedFont(EmbeddedFontCollection, String, Single, FontStyle) |
Loads a custom font from a custom font collection, using the font name, size and style
passed in parameter.
| |
SetImageOpacity(Image, Single) |
Method for changing the opacity of an image.
http://stackoverflow.com/questions/4779027/changing-the-opacity-of-a-bitmap-image
|
Inheritance Hierarchy
Object | |
Tools |