Share via


TransformPattern_Move Function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.

Moves an element to a specified location on the screen.

Syntax

HRESULT TransformPattern_Move(      
    HUIAPATTERNOBJECT hobj,
    double x,
    double y
);

Parameters

  • hobj
    [in] The control pattern object.
  • x
    [in] The horizontal screen coordinate to move the element to.
  • y
    [in] The vertical screen coordinate to move the element to.

Return Value

Returns S_OK if successful or an error value otherwise.

Function Information

Stock Implementation uiautomationcore.dll
Custom Implementation No
Header uiautomationcoreapi.h
Import library uiautomationcore.lib
Minimum operating systems Windows XP