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.
Adjusts the light, mid-tone, or dark areas of an image.
public ref class LevelsEffect : System::Drawing::Imaging::Effects::Effectpublic class LevelsEffect : System.Drawing.Imaging.Effects.Effecttype LevelsEffect = class inherit EffectPublic Class LevelsEffectInherits Effect| Name | Description |
|---|---|
| LevelsEffect(Int32, Int32, Int32) | Creates a newLevelsEffect with the specified highlight, midtone, and shadow values. |
| Name | Description |
|---|---|
| Highlight | Gets the highlight threshold. |
| Midtone | Gets the midtone adjustment. |
| Shadow | Gets the shadow threshold. |
| 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?