UITextGranularity UITextGranularity Enum

Definition

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
UITextGranularityUITextGranularity
Attributes

Fields

Character Character 0

The unit of text is a character.

Document Document 5

The unit of text is a document.

Line Line 4

The unit of text is a line.

Paragraph Paragraph 3

The unit of text is a paragraph.

Sentence Sentence 2

The unit of text is a sentence.

Word Word 1

The unit of text is a word.

Applies to

See also