GifBitmapDecoder 类

定义

定义图形交换格式 (GIF) 编码图像的解码器。

public ref class GifBitmapDecoder sealed : System::Windows::Media::Imaging::BitmapDecoder
public sealed class GifBitmapDecoder : System.Windows.Media.Imaging.BitmapDecoder
type GifBitmapDecoder = class
    inherit BitmapDecoder
Public NotInheritable Class GifBitmapDecoder
Inherits BitmapDecoder
继承

构造函数

GifBitmapDecoder(Stream, BitmapCreateOptions, BitmapCacheOption)

从指定的文件流,用指定的 createOptionscacheOption 初始化 GifBitmapDecoder 类的一个新实例。

GifBitmapDecoder(Uri, BitmapCreateOptions, BitmapCacheOption)

从指定的 GifBitmapDecoder,用指定的 createOptionscacheOption 初始化 Uri 的一个新实例。

属性

CodecInfo

获取此编解码器的相关描述信息。

(继承自 BitmapDecoder)
ColorContexts

获取一个值,该值表示与位图关联的颜色配置文件(如果已定义)。

(继承自 BitmapDecoder)
Dispatcher

获取与此 Dispatcher 关联的 DispatcherObject

(继承自 DispatcherObject)
Frames

获取位图中单个帧的内容。

(继承自 BitmapDecoder)
IsDownloading

获取一个值,该值指示解码器当前是否正在下载内容。

(继承自 BitmapDecoder)
Metadata

获取 BitmapMetadata 的实例,它表示与此位图关联的全局元数据(如果已定义元数据)。

(继承自 BitmapDecoder)
Palette

获取与此解码器关联的 BitmapPalette

(继承自 BitmapDecoder)
Preview

获取一个 BitmapSource,用于表示此位图的全局预览(如果已定义)。

(继承自 BitmapDecoder)
Thumbnail

获取一个 BitmapSource,用于表示位图的缩略图(如果已定义)。

(继承自 BitmapDecoder)

方法

CheckAccess()

确定调用线程是否可以访问此 DispatcherObject

(继承自 DispatcherObject)
CreateInPlaceBitmapMetadataWriter()

创建 InPlaceBitmapMetadataWriter 的一个实例,它可以用于更新位图的元数据。

(继承自 BitmapDecoder)
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

BitmapDecoder 的当前值转换为 String

(继承自 BitmapDecoder)
VerifyAccess()

强制调用线程具有此 DispatcherObject 的访问权限。

(继承自 DispatcherObject)

事件

DownloadCompleted

BitmapDecoder 完成位图内容下载时发生。

(继承自 BitmapDecoder)
DownloadFailed

在无法下载位图内容时发生。

(继承自 BitmapDecoder)
DownloadProgress

BitmapDecoder 下载位图内容有进展时发生。

(继承自 BitmapDecoder)

适用于