An ImageAttributes object contains information about how bitmap and metafile colors are manipulated during rendering. An ImageAttributes object maintains several color-adjustment settings, including color-adjustment matrices, grayscale-adjustment matrices, gamma-correction values, color-map tables, and color-threshold values.
During rendering colors can be corrected, darkened, lightened, removed, and so on. To apply such manipulations, initialize an ImageAttributes object and pass the address of that ImageAttributes object (along with the address of an Image object) to the DrawImage method.
For a list of all members of this type, see ImageAttributes Members.
[Visual Basic] NotInheritable Public Class ImageAttributes Implements ICloneable, IDisposable [C#] public sealed class ImageAttributes : ICloneable, IDisposable [C++] public __gc __sealed class ImageAttributes : public ICloneable, IDisposable [JScript] public class ImageAttributes implements ICloneable, IDisposable
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System.Drawing (in System.Drawing.dll)