Edit

Share via


GrayScaleEffect Class

Definition

Produces the effect that converts an image to grayscale.

public sealed class GrayScaleEffect : System.Drawing.Imaging.Effects.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)

Applies to