UITextGranularity Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An enumeration of values that specify the granularity of a text range .
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITextGranularity
type UITextGranularity =
- Inheritance
-
UITextGranularity
- Attributes
Fields
Name | Value | Description |
---|---|---|
Character | 0 | The unit of text is a character. |
Word | 1 | The unit of text is a word. |
Sentence | 2 | The unit of text is a sentence. |
Paragraph | 3 | The unit of text is a paragraph. |
Line | 4 | The unit of text is a line. |
Document | 5 | The unit of text is a document. |