Interface ITransformProvider2

All Superinterfaces:
IInitable

public interface ITransformProvider2 extends 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 Classes
    Modifier and Type
    Interface
    Description
    static class 
    context object for ITransformProvider2.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether the control supports zooming of its viewport.
    double
    Retrieves the current zoom level of the element.
    double
    Retrieves the maximum zoom level of the element.
    double
    Retrieves the minimum zoom level of the element.
    void
    Zoom(double zoom)
    Zooms the viewport of the control.
    void
    ZoomByUnit(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

      void ZoomByUnit(ZoomUnit zoomUnit)
      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.