Compartir a través de


RunPropertyCharSet Class

Character Set.When the object is serialized out as xml, its qualified name is x:charset.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.InternationalPropertyType
        DocumentFormat.OpenXml.Spreadsheet.RunPropertyCharSet

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaración
Public Class RunPropertyCharSet _
    Inherits InternationalPropertyType
'Uso
Dim instance As RunPropertyCharSet
public class RunPropertyCharSet : InternationalPropertyType

Remarks

[ISO/IEC 29500-1 1ª edición]

18.4.1 charset (Character Set)

This element defines the font character set of this font.

This field is used in font creation and selection if a font of the given facename is not available on the system. Although it is not required to have around when resolving font facename, the information can be stored for when needed to help resolve which font face to use of all available fonts on a system.

Charset represents the basic set of characters associated with a font (that it can display), and roughly corresponds to the ANSI codepage (8-bit or DBCS) of that character set used by a given language. Given more common use of Unicode where many fonts support more than one of the traditional charset categories, and the use of font linking, using charset to resolve font name is less and less common, but still can be useful.

These are operating-system-dependent values.

[Note: The following are some of the possible the character sets:

INT Value

Character Set

0

ANSI_CHARSET

1

DEFAULT_CHARSET

2

SYMBOL_CHARSET

77

MAC_CHARSET

128

SHIFTJIS_CHARSET

129

HANGEUL_CHARSET

129

HANGUL_CHARSET

130

JOHAB_CHARSET

134

GB2312_CHARSET

136

CHINESEBIG5_CHARSET

161

GREEK_CHARSET

162

TURKISH_CHARSET

163

VIETNAMESE_CHARSET

177

HEBREW_CHARSET

178

ARABIC_CHARSET

186

BALTIC_CHARSET

204

RUSSIAN_CHARSET

222

THAI_CHARSET

238

EASTEUROPE_CHARSET

255

OEM_CHARSET

The OEM_CHARSET value specifies a character set that is operating-system dependent. end note]

Fonts with other character sets can exist in the operating system. If an application uses a font with an unknown character set, it should not attempt to translate or interpret strings that are rendered with that font.

Parent Elements

font (§18.8.22); rPr (§18.4.7)

Attributes

Description

val (Value)

The value of an integer, where each value corresponds to a different character set. This attribute is restricted to values ranging from 0 to 255.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

[Note: The W3C XML Schema definition of this element's content model (CT_IntProperty) is located in §A.2. end note]

© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RunPropertyCharSet Members

DocumentFormat.OpenXml.Spreadsheet Namespace