Udostępnij za pośrednictwem


TextScript Enum

Definition

Specifies the character repertoire for a run of character formatting.

public enum class TextScript
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class TextScript
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum TextScript
var value = Windows.UI.Text.TextScript.undefined
Public Enum TextScript
Inheritance
TextScript
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Undefined 0

Undefined

Ansi 1

Latin 1 (ANSI)

EastEurope 2

Latin 1 and Latin 2

Cyrillic 3

Cyrillic

Greek 4

Greek

Turkish 5

Turkish (Latin 1 + dotless i, and so on)

Hebrew 6

Hebrew

Arabic 7

Arabic

Baltic 8

From Latin 1 and 2

Vietnamese 9

Latin 1 with some combining marks

Default 10

Default character repertoire

Symbol 11

Symbol character set (not Unicode)

Thai 12

Thai

ShiftJis 13

Japanese

GB2312 14

Simplified Chinese

Hangul 15

Hangul

Big5 16

Traditional Chinese

PC437 17

PC437 character set (disk operating system (DOS))

Oem 18

OEM character set (original PC)

Mac 19

Main Macintosh character repertoire

Armenian 20

Armenian

Syriac 21

Syriac

Thaana 22

Thaana

Devanagari 23

Devanagari

Bengali 24

Bangla

Gurmukhi 25

Gurmukhi

Gujarati 26

Gujarati

Oriya 27

Odia

Tamil 28

Tamil

Telugu 29

Telugu

Kannada 30

Kannada

Malayalam 31

Malayalam

Sinhala 32

Sinhala

Lao 33

Lao

Tibetan 34

Tibetan

Myanmar 35

Myanmar

Georgian 36

Georgian

Jamo 37

Jamo

Ethiopic 38

Ethiopic

Cherokee 39

Cherokee

Aboriginal 40

Aboriginal

Ogham 41

Ogham

Runic 42

Runic

Khmer 43

Khmer

Mongolian 44

Mongolian

Braille 45

Braille

Yi 46

Yi (Nuosu or Nosu, also known as Northern Yi, Liangshan Yi, and Sichuan Yi)

Limbu 47

Limbu

TaiLe 48

TaiLe

NewTaiLue 49

TaiLu

SylotiNagri 50

Syloti Nagri

Kharoshthi 51

Kharoshthi

Kayahli 52

Kayahli

UnicodeSymbol 53

Unicode symbol such as math operators

Emoji 54

Emoji

Glagolitic 55

Glagolitic

Lisu 56

Lisu

Vai 57

Vai

NKo 58

NKo

Osmanya 59

Osmanya

PhagsPa 60

PhagsPa

Gothic 61

Gothic

Deseret 62

Deseret

Tifinagh 63

Tifinagh

Remarks

Character repertoires are typically scripts like Arabic and Latin, but there are also character repertoires for symbols and Emoji.

To learn more about character repertoires, see RichEdit Font Binding.

Applies to

See also