DigitShapes 列舉

定義

表示以適合特定文化的方式顯示數字。Specifies the culture-specific display of digits.

public enum class DigitShapes
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum DigitShapes
type DigitShapes = 
Public Enum DigitShapes
繼承
DigitShapes
屬性

欄位

Context 0

依照同一份輸出中,先前的數字來決定數字形狀。The digit shape depends on the previous text in the same output. 拉丁文字後面跟著歐洲數字、阿拉伯文字後面跟著阿拉伯-印度數字,而泰文後面則跟著泰式數字。European digits follow Latin scripts; Arabic-Indic digits follow Arabic text; and Thai digits follow Thai text.

NativeNational 2

數字圖形是與 0 到 9 對等的原生數字。The digit shape is the native equivalent of the digits from 0 through 9. 從 0 到 9 的 ASCII 數字會取代為對等的原生國家數字。ASCII digits from 0 through 9 are replaced by equivalent native national digits.

None 1

不變更數字形狀。The digit shape is not changed. 保留完整的 Unicode 相容性。Full Unicode compatibility is maintained.

備註

DigitShapes 值指定不會將數位圖形取代為 Unicode 輸入、數位圖形根據內容來取代,或使用原生國家數位圖形來取代輸入。A DigitShapes value specifies that no digit shape is substituted for the Unicode input, a digit shape is substituted based on context, or a native national digit shape is substituted for the input.

阿拉伯文、印度文和泰文語言的數位,與數位0到9(Unicode U + 0030 到 U + 0039)不同,最常用於電腦上。The Arabic, Indic, and Thai languages have classical shapes for numbers that are different from the digits 0 through 9 (Unicode U+0030 through U+0039), which are most often used on computers. 應用程式會使用具有 DigitSubstitution 屬性的 DigitShapes 列舉,以指定在沒有其他格式資訊的情況之下,如何顯示數位 U + 0030 到 U + 0039。The application uses the DigitShapes enumeration with the DigitSubstitution property to specify how to display digits U+0030 through U+0039 in the absence of other formatting information.

DigitShapes 列舉主要是供使用雙向腳本文化特性的應用程式使用。The DigitShapes enumeration is primarily used by applications intended for cultures that use bidirectional scripts. 例如,阿拉伯文和印度文腳本的讀取順序是雙向的。For example, the reading order of Arabic and Indic scripts is bidirectional.

適用於

另請參閱