KGySoft.Drawing Namespace

KGy SOFT Drawing Libraries Help
The KGySoft.Drawing namespace contains extension methods and types built around the types of the System.Drawing namespace. Among others, provides advanced support for the Icon type such as extracting, combining and converting multi-resolution icons, including hi-resolution ones, supports saving several Image formats, including formats without built-in encoders (eg. icons and Metafiles), provides methods for pixel format conversion, quantizing, dithering, etc.
Classes

  ClassDescription
Public classAsyncConfig
Represents asynchronous configuration for IAsyncResult-returning methods.
Public classAsyncConfigBase
Represents the base class for configuration of asynchronous operations.
Public classBitmapExtensions
Provides extension methods for the Bitmap type.
Public classCursorHandle
Represents a windows cursor. The CursorHandle instance can be passed to the System.Windows.Forms.Cursor constructor to create a new cursor.
Public classDrawingModule
Represents the KGySoft.Drawing module.
Public classGraphicsExtensions
Contains extension methods for the Graphics type.
Public classIconExtensions
Provides extension methods for the Icon type.
Public classIconInfo
Provides information about an Icon image.
Public classIcons
Provides some icon-related methods as well as properties returning general icons in multi resolution. Unlike SystemIcons, these icons should be disposed when not used any more.
Public classImageExtensions
Provides extension methods for the Image type.
Public classMetafileExtensions
Contains extension methods for the Metafile type.
Public classPixelFormatExtensions
Contains extension methods for the PixelFormat type.
Public classTaskConfig
Represents asynchronous configuration for Task-returning methods.
Structures

  StructureDescription
Public structureDrawingProgress
Represents the progress of a drawing operation.
Interfaces

  InterfaceDescription
Public interfaceIAsyncContext
Represents the context of a possibly asynchronous drawing operation.
Public interfaceIDrawingProgress
Represents a provider for progress updates for drawing operations.
Enumerations

  EnumerationDescription
Public enumerationColorChannels
Represents the RGB color channels when manipulating images.
Public enumerationDrawingOperation
Represents various drawing operations that can be used with the IDrawingProgress type.
Public enumerationScalingMode
Represents the scaling mode when an image needs to be resized.
Public enumerationStockIcon
Represents the Windows stock icons can be retrieved by the Icons.GetStockIcon method in Windows Vista and above.
See also the SHSTOCKICONID Enumeration at the Microsoft Docs site.
Public enumerationSystemIconSize
Represents the predefined system icon sizes.