Modifica

Condividi tramite


BitmapEncoder.Preview Property

Definition

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

public:
 virtual property System::Windows::Media::Imaging::BitmapSource ^ Preview { System::Windows::Media::Imaging::BitmapSource ^ get(); void set(System::Windows::Media::Imaging::BitmapSource ^ value); };
public virtual System.Windows.Media.Imaging.BitmapSource Preview { get; set; }
member this.Preview : System.Windows.Media.Imaging.BitmapSource with get, set
Public Overridable Property Preview As BitmapSource

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