IUIAutomationTextPattern インターフェイス (uiautomationclient.h)

テキストを含むコントロールへのアクセスを提供します。

継承

IUIAutomationTextPattern インターフェイスは、IUnknown インターフェイスから継承されます。 IUIAutomationTextPattern には、次の種類のメンバーもあります。

メソッド

IUIAutomationTextPattern インターフェイスには、これらのメソッドがあります。

 
IUIAutomationTextPattern::get_DocumentRange

文書のメインテキストを囲むテキスト範囲を取得します。 (IUIAutomationTextPattern.get_DocumentRange)
IUIAutomationTextPattern::get_SupportedTextSelection

コントロールでサポートされているテキスト選択の種類を指定する値を取得します。 (IUIAutomationTextPattern.get_SupportedTextSelection)
IUIAutomationTextPattern::GetSelection

テキスト ベースのコントロールで現在選択されているテキストを表すテキスト範囲のコレクションを取得します。 (IUIAutomationTextPattern.GetSelection)
IUIAutomationTextPattern::GetVisibleRanges

テキスト ベースのコントロールから結合されていないテキスト範囲の配列を取得します。各テキスト範囲は、表示されているテキストの連続した範囲を表します。 (IUIAutomationTextPattern.GetVisibleRanges)
IUIAutomationTextPattern::RangeFromChild

画像、ハイパーリンク、Microsoft Excel スプレッドシート、その他の埋め込みオブジェクトなどの子要素を囲むテキスト範囲を取得します。
IUIAutomationTextPattern::RangeFromPoint

指定した画面座標に最も近い、縮退した (空の) テキスト範囲を取得します。 (IUIAutomationTextPattern.RangeFromPoint)

要件

   
サポートされている最小のクライアント Windows 7、Windows Vista SP2 と Windows Vista 用プラットフォーム更新プログラム、SP3 を使用した Windows XP、Windows Vista 用プラットフォーム更新プログラム [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2008 R2、Windows Server 2008 SP2 および Windows Server 2008 用プラットフォーム更新プログラム、WINDOWS Server 2003 SP2 および Windows Server 2008 用プラットフォーム更新プログラム [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー uiautomationclient.h (UIAutomation.h を含む)

関連項目

クライアントのコントロール パターン インターフェイス