Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImageAttributes Class

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.

System.Object
   System.Drawing.Imaging.ImageAttributes

[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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Drawing.Imaging

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)

See Also

ImageAttributes Members | System.Drawing.Imaging Namespace

Show:
© 2014 Microsoft