Other APIs
This section contains various types and members that do not fall neatly into other categories. These can include utility classes, extension methods, and other miscellaneous functionalities.
Namespaces
System.Drawing
System.Windows.Forms
System.Xml.Serialization
Classes
System.Drawing.Bitmap
Represents a bitmap image, which consists of the pixel data for a graphics image.
Constructors
Methods
- Clone()
- Dispose()
- LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format)
- UnlockBits(BitmapData data)
System.Drawing.Color
Represents an ARGB (alpha, red, green, blue) color.
Properties
- A (byte)
- R (byte)
- G (byte)
- B (byte)
- Empty (static readonly Color)
- Black (static readonly Color)
- White (static readonly Color)
- Red (static readonly Color)
- Green (static readonly Color)
- Blue (static readonly Color)
- Yellow (static readonly Color)
Methods
- FromArgb(int alpha, int red, int green, int blue)
- FromArgb(int red, int green, int blue)
- FromName(string name)
System.Drawing.Font
Defines a specific set of characteristics for rendering text, such as font family, size, and style.
Properties
Methods
System.Drawing.Graphics
Provides methods and properties for creating custom graphics and painting controls.
Methods
- DrawLine(Pen pen, int x1, int y1, int x2, int y2)
- DrawRectangle(Pen pen, int x, int y, int width, int height)
- FillRectangle(Brush brush, int x, int y, int width, int height)
- DrawString(string s, Font font, Brush brush, PointF point)
- MeasureString(string text, Font font)
System.Drawing.Image
Abstract base class that enables storage and manipulation of image data.
System.Drawing.Pen
Defines an object used to draw lines and curves or to render the outline of shapes.
Properties
Methods
System.Drawing.Point
Represents an ordered pair of integer coordinates (x, y) that defines a point in two-dimensional plane.
System.Drawing.Rectangle
Represents a generic rectangle defined by a location and size.
System.Drawing.Size
Represents an ordered pair of integers that represent the width and height of a rectangle or point.
System.Windows.Forms.Button
Represents a standard Windows button control.
System.Windows.Forms.Control
Represents the base class for all controls in the Windows Forms.
System.Windows.Forms.Form
Represents a window, which is a child of the parent window or the desktop when no parent is specified.
System.Windows.Forms.Label
Represents a Windows label control.
System.Windows.Forms.TextBox
Represents a Windows text box control.
System.Xml.Serialization.XmlSerializer
Provides functionality to serialize and deserialize objects into and from XML documents.