Redigera

Dela via


BitmapDecoder.Thumbnail Property

Definition

Gets a BitmapSource that represents the thumbnail of the bitmap, if one is defined.

public:
 virtual property System::Windows::Media::Imaging::BitmapSource ^ Thumbnail { System::Windows::Media::Imaging::BitmapSource ^ get(); };
public virtual System.Windows.Media.Imaging.BitmapSource Thumbnail { [System.Security.SecurityCritical] get; }
public virtual System.Windows.Media.Imaging.BitmapSource Thumbnail { get; }
[<get: System.Security.SecurityCritical>]
member this.Thumbnail : System.Windows.Media.Imaging.BitmapSource
member this.Thumbnail : System.Windows.Media.Imaging.BitmapSource
Public Overridable ReadOnly Property Thumbnail As BitmapSource

Property Value

A BitmapSource that represents a thumbnail of the bitmap. If no thumbnail is defined, this property returns null. This property has no default value.

Attributes

Remarks

None of the native formats support global thumbnails. Joint Photographics Experts Group (JPEG), Tagged Image File Format (TIFF), and Microsoft Windows Media Photo support frame-level thumbnails that can be accessed using the Thumbnail property.

The BitmapSource returned by this property is frozen.

Applies to

See also