EN
本內容沒有您的語言版本,但有英文版本。

ITransformProvider2 interface

Extends the ITransformProvider interface to enable Microsoft UI Automation providers to expose properties to support the viewport zooming functionality of a control.

When to implement

Controls that include a viewport zooming feature should implement ITransformProvider2 to enable UI Automation clients to programmatically access the feature.

Members

The ITransformProvider2 interface inherits from the IUnknown interface. ITransformProvider2 also has these types of members:

Methods

The ITransformProvider2 interface has these methods.

MethodDescription
Zoom

Zooms the viewport of the control.

ZoomByUnit

Zooms the viewport of the control by the specified logical unit.

 

Properties

The ITransformProvider2 interface has these properties.

PropertyAccess typeDescription

CanZoom

Read-only

Indicates whether the control supports zooming of its viewport.

ZoomLevel

Read-only

Retrieves the current zoom level of the element.

ZoomMaximum

Read-only

Retrieves the maximum zoom level of the element.

ZoomMinimum

Read-only

Retrieves the minimum zoom level of the element.

 

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

DLL

UIAutomationCore.dll

IID

IID_ITransformProvider2 is defined as dd7b598c-4f1a-479c-94f5-7b91eb21d052

See also

Control Pattern Interfaces for Providers
ITransformProvider

 

 

社群新增項目

新增
顯示:
© 2014 Microsoft