DigitShapes Enumeración
Definición
Especifica la representación de los dígitos propia de una referencia cultural.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
- Herencia
- Atributos
Campos
Context | 0 | La forma del dígito depende del texto previo dentro del mismo documento.The digit shape depends on the previous text in the same output. Los dígitos europeos siguen los alfabetos latinos; los dígitos árabo-índicos siguen el texto árabe y los dígitos tailandeses siguen el texto tailandés.European digits follow Latin scripts; Arabic-Indic digits follow Arabic text; and Thai digits follow Thai text. |
NativeNational | 2 | La forma de los dígitos es el equivalente nativo de los dígitos comprendidos entre 0 y 9.The digit shape is the native equivalent of the digits from 0 through 9. Los dígitos ASCII comprendidos entre 0 y 9 se sustituyen por los dígitos nacionales nativos equivalentes.ASCII digits from 0 through 9 are replaced by equivalent native national digits. |
None | 1 | No cambia la forma del dígito.The digit shape is not changed. Se mantiene toda la compatibilidad con Unicode.Full Unicode compatibility is maintained. |
Comentarios
Un DigitShapes valor especifica que ninguna forma de dígito se sustituye por la entrada Unicode, una forma de dígito se sustituye según el contexto o una forma de dígito nacional nativo se sustituye por la entrada.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.
Los idiomas árabe, hindú y tailandés tienen formas clásicas para números distintos de los dígitos del 0 al 9 (Unicode U + 0030 a U + 0039), que se usan con más frecuencia en los equipos.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. La aplicación utiliza la DigitShapes enumeración con DigitSubstitution la propiedad para especificar cómo mostrar los dígitos u + 0030 a u + 0039 en ausencia de otra información de formato.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.
La DigitShapes enumeración se usa principalmente en aplicaciones destinadas a referencias culturales que usan scripts bidireccionales.The DigitShapes enumeration is primarily used by applications intended for cultures that use bidirectional scripts. Por ejemplo, el orden de lectura de los scripts árabe e hindú es bidireccional.For example, the reading order of Arabic and Indic scripts is bidirectional.