uiautomation
uiautomation.uiautomation.TransformPattern2 クラス

公開メンバ関数

def __init__ (self, pattern=None)
 
bool CanZoom (self)
 
float ZoomLevel (self)
 
float ZoomMaximum (self)
 
float ZoomMinimum (self)
 
bool Zoom (self, float zoomLevel, float waitTime=OPERATION_WAIT_TIME)
 
bool ZoomByUnit (self, int zoomUnit, float waitTime=OPERATION_WAIT_TIME)
 

公開変数類

 pattern
 

構築子と解体子

◆ __init__()

def uiautomation.uiautomation.TransformPattern2.__init__ (   self,
  pattern = None 
)
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nn-uiautomationclient-iuiautomationtransformpattern2

メソッド詳解

◆ CanZoom()

bool uiautomation.uiautomation.TransformPattern2.CanZoom (   self)
Property CanZoom.
Call IUIAutomationTransformPattern2::get_CurrentCanZoom.
Return bool, indicates whether the control supports zooming of its viewport.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern2-get_CurrentCanZoom

◆ Zoom()

bool uiautomation.uiautomation.TransformPattern2.Zoom (   self,
float  zoomLevel,
float   waitTime = OPERATION_WAIT_TIME 
)
Call IUIAutomationTransformPattern2::Zoom.
Zoom the viewport of the control.
zoomLevel: float for int.
waitTime: float.
Return bool, True if succeed otherwise False.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern2-zoom

◆ ZoomByUnit()

bool uiautomation.uiautomation.TransformPattern2.ZoomByUnit (   self,
int  zoomUnit,
float   waitTime = OPERATION_WAIT_TIME 
)
Call IUIAutomationTransformPattern2::ZoomByUnit.
Zoom the viewport of the control by the specified unit.
zoomUnit: int, a value in class `ZoomUnit`.
waitTime: float.
Return bool, True if succeed otherwise False.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern2-zoombyunit

◆ ZoomLevel()

float uiautomation.uiautomation.TransformPattern2.ZoomLevel (   self)
Property ZoomLevel.
Call IUIAutomationTransformPattern2::get_CurrentZoomLevel.
Return float, the zoom level of the control's viewport.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern2-get_currentzoomlevel

◆ ZoomMaximum()

float uiautomation.uiautomation.TransformPattern2.ZoomMaximum (   self)
Property ZoomMaximum.
Call IUIAutomationTransformPattern2::get_CurrentZoomMaximum.
Return float, the maximum zoom level of the control's viewport.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern2-get_currentzoommaximum

◆ ZoomMinimum()

float uiautomation.uiautomation.TransformPattern2.ZoomMinimum (   self)
Property ZoomMinimum.
Call IUIAutomationTransformPattern2::get_CurrentZoomMinimum.
Return float, the minimum zoom level of the control's viewport.
Refer https://docs.microsoft.com/en-us/windows/desktop/api/uiautomationclient/nf-uiautomationclient-iuiautomationtransformpattern2-get_currentzoomminimum

メンバ詳解

◆ pattern

uiautomation.uiautomation.TransformPattern2.pattern

このクラス詳解は次のファイルから抽出されました: