IAccessible2 API  Version 1.3
Public Member Functions | List of all members
IAccessibleImage Interface Reference

This interface represents images and icons. More...

import "AccessibleImage.idl";

Inheritance diagram for IAccessibleImage:

Public Member Functions

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...
 

Detailed Description

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:

  1. 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.
  2. The user can edit the content that includes an image and therefore the user needs to be able to review the image's position.

Member Function Documentation

HRESULT IAccessibleImage::description ( [out, retval] BSTR *  description)
get

Returns the localized description of the image.

Parameters
[out]description
Return values
S_OK
S_FALSEif 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]coordinateTypeSpecifies whether the returned coordinates should be relative to the screen or the parent object.
[out]x
[out]y
Return values
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.

Parameters
[out]height
[out]width
Return values
S_OK

The documentation for this interface was generated from the following file:
Generated on Wed Jul 10 2013 09:47:26 for IAccessible2 API Version 1.3 by  doxygen 1.8.3.1