Defines an action that makes transparent color for an image. This class cannot be inherited.

The following tables list the members exposed by the MakeTransparent type.

Public Methods

  NameDescription
Clone
Creates a copy of the current MakeTransparent.
(Overrides .Clone().)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Constructors

  NameDescription
MakeTransparentNewOverloaded.

Public Properties

  NameDescription
Alpha
Gets or sets the alpha component value of the transparent color

Color
Gets or sets the transparent color

ColorTolerance
Gets or sets the color tolerance for transparency. Color Tolerance represents the tonal range of colors that will be converted to transparent taking the specified color as starting point. If you enter 0, only adjacent pixels of exactly the same tone as the specified color will be converted to transparent; otherwise, a wider range of tones will be converted.

UseFirstPixel
Gets or sets whether the first pixel color of an image will be used as the transparent color