IUIAutomationTransformPattern2::ZoomByUnit メソッド (uiautomationclient.h)

指定した単位でコントロールのビューポートをズームします。

構文

HRESULT ZoomByUnit(
  ZoomUnit zoomUnit
);

パラメーター

zoomUnit

種類: ZoomUnit

ビューポートのズームを増減する単位。

戻り値

型: HRESULT

このメソッドは、成功すると S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。

要件

要件
サポートされている最小のクライアント Windows 8 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2012 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー uiautomationclient.h (UIAutomation.h を含む)

こちらもご覧ください

IUIAutomationTransformPattern2