This interface represents images and icons.
More...
import "AccessibleImage.idl";
|
HRESULT | description ([out, retval] BSTR *description) |
| Returns the localized description of the image. More...
|
|
HRESULT | imagePosition ([in] enum IA2CoordinateType coordinateType,[out] long *x,[out, retval] long *y) |
| Returns the coordinates of the image. More...
|
|
HRESULT | imageSize ([out] long *height,[out, retval] long *width) |
| Returns the size of the image in units specified by parent's coordinate system. More...
|
|
This interface represents images and icons.
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:
-
The accessible name and description are not enough to fully describe the image, e.g. when the accessible description is used to define the behavior of an actionable image and the image itself conveys semantically significant information.
-
The user can edit the content that includes an image and therefore the user needs to be able to review the image's position.
HRESULT IAccessibleImage::description |
( |
[out, retval] BSTR * |
description | ) |
|
|
get |
Returns the localized description of the image.
- Parameters
-
- Return values
-
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.
- Parameters
-
[in] | coordinateType | Specifies whether the returned coordinates should be relative to the screen or the parent object. |
[out] | x | |
[out] | y | |
- Return values
-
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.
- Parameters
-
- Return values
-
The documentation for this interface was generated from the following file: