ImageViewerSmoothingEnabled Property

When a Bitmap is assigned to Image, gets or sets whether rendering with resize uses interpolation (that is when Zoom is not 1).
When a Metafile is assigned to Image, gets or sets whether the metafile is rendered with antialiasing. Smoothing metafiles might be turned off automatically on higher zooming levels.
Default value: .

See the online help for an animated image example.

Definition

Namespace: KGySoft.WinForms.Controls
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
[DefaultValueAttribute(false)]
public bool SmoothingEnabled { get; set; }

Property Value

Boolean

Remarks

Smoothing metafiles may not have a noticeable effect if the metafile already contains drawing records with antialiasing, or when the metafile contains bitmap images only.

Examples

  Tip

See the Examples section of the ImageViewer class for an animated image example.

See Also