Image::GetPropertyCount 方法 (gdiplusheaders.h)

Image::GetPropertyCount 方法获取存储在此 Image 对象中的元数据) (段的属性数。

语法

UINT GetPropertyCount();

返回值

类型: UINT

此方法返回此 Image 对象中存储的属性数。

要求

要求
最低受支持的客户端 Windows XP、Windows 2000 Professional [仅限桌面应用]
最低受支持的服务器 Windows 2000 Server [仅限桌面应用]
目标平台 Windows
标头 gdiplusheaders.h (包括 Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

另请参阅

图像

Image::GetAllPropertyItems

Image::GetPropertyIdList

Image::GetPropertyItem

Image::GetPropertyItemSize

Image::GetPropertySize

Image::RemovePropertyItem

Image::SetPropertyItem

PropertyItem

读取和写入元数据