Image::GetFrameCount 方法 (gdiplusheaders.h)
Image::GetFrameCount 方法获取此 Image 对象指定维度中的帧数。
语法
UINT GetFrameCount(
[in] const GUID *dimensionID
);
参数
[in] dimensionID
类型: const GUID*
指向指定维度的 GUID 的指针。 用于标识各种维度的 GUID 在 Gdiplusimaging.h 中定义。
返回值
类型: UINT
此方法返回此 Image 对象的指定维度中的帧数。
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows XP、Windows 2000 Professional [仅限桌面应用] |
最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] |
目标平台 | Windows |
标头 | gdiplusheaders.h (包括 Gdiplus.h) |
Library | Gdiplus.lib |
DLL | Gdiplus.dll |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈