This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
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::ColorMatrixEffectpublic sealed class GrayScaleEffect : System.Drawing.Imaging.Effects.ColorMatrixEffecttype GrayScaleEffect = class inherit ColorMatrixEffectPublic NotInheritable Class GrayScaleEffectInherits ColorMatrixEffect| Name | Description |
|---|---|
| GrayScaleEffect() | Creates aColorMatrixEffect that converts an image to grayscale. |
| Name | Description |
|---|---|
| Matrix | Gets the color transform matrix. (Inherited fromColorMatrixEffect) |
| Name | Description |
|---|---|
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited fromEffect) |
| Dispose(Boolean) | Releases the unmanaged resources used by theEffect and optionally releases the managed resources. (Inherited fromEffect) |
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?