other-licenses/ia2/AccessibleImage.idl
Not scriptableIUnknown
Last changed in Gecko 1.9 (Firefox 3)This interface is used for a representation of images like icons on buttons. IAccessibleImage
only needs to be implemented in certain situations. Some examples are:
description()
are not enough to fully describe the image, for example when the accessible description()
is used to define the behavior of an actionable image and the image itself conveys semantically significant information.[propget] HRESULT description([out] BSTR description ); |
[propget] HRESULT imagePosition([in] enum IA2CoordinateType coordinateType, [out] long x, [out] long y ); |
[propget] HRESULT imageSize([out] long height, [out] long width ); |
Returns the localized description of the image.
[propget] HRESULT description( [out] BSTR description );
description
S_FALSE if there is nothing to return, [out] value is null
. S_OK.
Returns the coordinates of the image.
[propget] HRESULT imagePosition( [in] enum IA2CoordinateType coordinateType, [out] long x, [out] long y );
coordinateType
x
y
S_OK.
Returns the size of the image in units specified by parent's coordinate system.
[propget] HRESULT imageSize( [out] long height, [out] long width );
height
width
S_OK.