FontCharSet Class
Character Set Supported By Font.When the object is serialized out as xml, its qualified name is w:charset.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.FontCharSet
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public Class FontCharSet _
Inherits OpenXmlLeafElement
'Uso
Dim instance As FontCharSet
public class FontCharSet : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 1ª edición]
17.8.3.2 charset (Character Set Supported By Font)
This element specifies the character set which is supported by the parent font. This information can be used as defined in font substitution logic to locate an appropriate substitute font when this font is not available. This information is determined by querying the font when present and shall not be modified when the font is not available.
If this element is not present, then the character set for this font shall be assumed to be the ISO/IEC 8859-1 character set.
[Example: Consider the following information stored for a single font:
<w:font w:name="SimSun">
<w:charset w:characterSet="GBK" />
…
</w:font>
The charset element specifies via its characterSet attribute value of GBK that this font uses the GB-2312 character set. end example]
Parent Elements |
---|
font (§17.8.3.10) |
Attributes |
Description |
---|---|
characterSet (IANA Name of Character Set) |
Name of the character set associated with the font. The values allowed by this attribute are defined by the names and aliases listed in the IANA registration table. If this value is specified, the value of the val attribute is ignored. The possible values for this attribute are defined by the ST_String simple type (§22.9.2.13). |
[Note: The W3C XML Schema definition of this element's content model (CT_Charset) is located in §A.1. 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.