Package at.bestsolution.uia
Interface ITransformProvider2
- All Superinterfaces:
IInitable
Extends the ITransformProvider interface to enable Microsoft UI Automation providers to expose properties to support the viewport zooming functionality of a control.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classcontext object for ITransformProvider2. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the control supports zooming of its viewport.doubleRetrieves the current zoom level of the element.doubleRetrieves the maximum zoom level of the element.doubleRetrieves the minimum zoom level of the element.voidZoom(double zoom) Zooms the viewport of the control.voidZoomByUnit(ZoomUnit zoomUnit) Zooms the viewport of the control by the specified logical unit.Methods inherited from interface at.bestsolution.uia.IInitable
initialize
-
Method Details
-
get_CanZoom
boolean get_CanZoom()Indicates whether the control supports zooming of its viewport.- Returns:
- true if supports zooming
-
get_ZoomLevel
double get_ZoomLevel()Retrieves the current zoom level of the element.- Returns:
- the current zoom level
-
get_ZoomMaximum
double get_ZoomMaximum()Retrieves the maximum zoom level of the element.- Returns:
- the max zoom level
-
get_ZoomMinimum
double get_ZoomMinimum()Retrieves the minimum zoom level of the element.- Returns:
- the min zoom level
-
Zoom
void Zoom(double zoom) Zooms the viewport of the control.- Parameters:
zoom- The amount to zoom the viewport, specified as a percentage. The provider should zoom the viewport to the nearest supported value.
-
ZoomByUnit
Zooms the viewport of the control by the specified logical unit.- Parameters:
zoomUnit- The logical unit by which to increase or decrease the zoom of the viewport.
-