GifBitmapDecoder 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义图形交换格式(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) |
GifBitmapDecoder使用指定的 |
| GifBitmapDecoder(Uri, BitmapCreateOptions, BitmapCacheOption) |
用GifBitmapDecoder指定的Uri |
属性
| 名称 | 说明 |
|---|---|
| CodecInfo |
获取描述此编解码器的信息。 (继承自 BitmapDecoder) |
| ColorContexts |
获取一个值,该值表示与位图关联的颜色配置文件(如果已定义)。 (继承自 BitmapDecoder) |
| Dispatcher |
获取与此DispatcherDispatcherObject关联的值。 (继承自 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() |
将 a BitmapDecoder 的当前值转换为 .String (继承自 BitmapDecoder) |
| VerifyAccess() |
强制调用线程有权访问此 DispatcherObject权限。 (继承自 DispatcherObject) |
活动
| 名称 | 说明 |
|---|---|
| DownloadCompleted |
下载完位图内容后 BitmapDecoder 发生。 (继承自 BitmapDecoder) |
| DownloadFailed |
当位图内容无法下载时发生。 (继承自 BitmapDecoder) |
| DownloadProgress |
BitmapDecoder在正在下载位图内容时发生。 (继承自 BitmapDecoder) |