BitmapEncoder.Preview 属性

定义

获取或设置一个 BitmapSource 表示位图的全局预览(如果有)。

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

属性值

表示位图预览的 A BitmapSource

例外

位图不支持预览。

该值设置为 null

适用于

另请参阅