BitmapEncoder.Preview Property

Definition

Gets or sets a BitmapSource that represents the global preview of a bitmap, if there is one.

public virtual System.Windows.Media.Imaging.BitmapSource Preview { get; set; }

Property Value

A BitmapSource that represents the preview of a bitmap.

Exceptions

The bitmap does not support preview.

The value is set to null.

Applies to

See also