แก้ไข

แชร์ผ่าน


GrayScaleEffect Class

Definition

Produces the effect that converts an image to grayscale.

public ref class GrayScaleEffect sealed : System::Drawing::Imaging::Effects::ColorMatrixEffect
public sealed class GrayScaleEffect : System.Drawing.Imaging.Effects.ColorMatrixEffect
type GrayScaleEffect = class
    inherit ColorMatrixEffect
Public NotInheritable Class GrayScaleEffect
Inherits ColorMatrixEffect
Inheritance
GrayScaleEffect

Constructors

GrayScaleEffect()

Creates a ColorMatrixEffect that converts an image to grayscale.

Properties

Matrix

Gets the color transform matrix.

(Inherited from ColorMatrixEffect)

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from Effect)
Dispose(Boolean)

Releases the unmanaged resources used by the Effect and optionally releases the managed resources.

(Inherited from Effect)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to