GrayScaleEffect Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.