Bitmap.ApplyEffect(Effect, Rectangle) Method

Definition

Alters the bitmap by applying the given effect.

public void ApplyEffect (System.Drawing.Imaging.Effects.Effect effect, System.Drawing.Rectangle area = default);
member this.ApplyEffect : System.Drawing.Imaging.Effects.Effect * System.Drawing.Rectangle -> unit
Public Sub ApplyEffect (effect As Effect, Optional area As Rectangle = Nothing)

Parameters

effect
Effect

The effect to apply.

area
Rectangle

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

Applies to