import "AccessibleImage.idl";
Public Member Functions | |
HRESULT | description ([out, retval] BSTR *description) |
Returns the localized description of the image. | |
HRESULT | imagePosition ([in] enum IA2CoordinateType coordinateType,[out] long *x,[out, retval] long *y) |
Returns the coordinates of the image. | |
HRESULT | imageSize ([out] long *height,[out, retval] long *width) |
Returns the size of the image in units specified by parent's coordinate system. |
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:
HRESULT IAccessibleImage::description | ( | [out, retval] BSTR * | description | ) | [get] |
Returns the localized description of the image.
[out] | description |
S_OK | ||
S_FALSE | if there is nothing to return, [out] value is NULL |
HRESULT IAccessibleImage::imagePosition | ( | [in] enum IA2CoordinateType | coordinateType, | |
[out] long * | x, | |||
[out, retval] long * | y | |||
) | [get] |
Returns the coordinates of the image.
[in] | coordinateType | Specifies whether the returned coordinates should be relative to the screen or the parent object. |
[out] | x | |
[out] | y |
S_OK |
HRESULT IAccessibleImage::imageSize | ( | [out] long * | height, | |
[out, retval] long * | width | |||
) | [get] |
Returns the size of the image in units specified by parent's coordinate system.
[out] | height | |
[out] | width |
S_OK |
A stable online reference version of the documentation for IAccessible2 API Version 1.2.1, is available at: http://a11y.org/ia2-spec. A list of known and reported errors in the documentation for IAccessible2 API Version 1.2.1 can be found at: http://a11y.org/ia2-errata