IShellImageData::IsTransparent method (shimgdata.h)

Determines whether the image is transparent.

Syntax

HRESULT IsTransparent();

Return value

Type: HRESULT

Returns one of the following:

Return code Description
S_OK
The image has transparency.
S_FALSE
The image does not have transparency.
E_FAIL
The image has not been decoded.

Remarks

If an image supports transparency but does not use it, the method returns S_FALSE.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shimgdata.h
DLL Shell32.dll