Share via


TextUnit 列舉 (uiautomationcore.h)

包含值,指定導覽用途的文字單位。

Syntax

typedef enum TextUnit {
  TextUnit_Character = 0,
  TextUnit_Format = 1,
  TextUnit_Word = 2,
  TextUnit_Line = 3,
  TextUnit_Paragraph = 4,
  TextUnit_Page = 5,
  TextUnit_Document = 6
} ;

常數

 
TextUnit_Character
值: 0
字元。
TextUnit_Format
值: 1
格式化。
TextUnit_Word
值: 2
Word。
TextUnit_Line
值: 3
線。
TextUnit_Paragraph
值: 4
段。
TextUnit_Page
值: 5
網頁。
TextUnit_Document
值: 6
文件。

規格需求

需求
最低支援的用戶端 Windows XP [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限桌面應用程式]
標頭 uiautomationcore.h (包含 UIAutomation.h)

另請參閱

文字屬性識別碼