Bitmap.ApplyEffect(Effect, Rectangle) Method

Definition

Alters the bitmap by applying the given effect.

C#
public void ApplyEffect(System.Drawing.Imaging.Effects.Effect effect, System.Drawing.Rectangle area = default);

Parameters

effect
Effect

The effect to apply.

area
Rectangle

The area to apply to, or Empty for the entire image.

Applies to

Produkt Verzie
.NET 9 (package-provided), 10 (package-provided)
Windows Desktop 9, 10