TransformPattern_Resize Function

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

Resizes an element on the screen.

Syntax

HRESULT TransformPattern_Resize(      
    HUIAPATTERNOBJECT hobj,
    double width,
    double height
);

Parameters

  • hobj
    [in] The control pattern object.
  • width
    [in] The width, in pixels, to resize the element to.
  • height
    [in] The height, in pixels, to resize 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