Freigeben über


FontCharSet-Klasse

Character Set Supported By Font.When the object is serialized out as xml, its qualified name is w:charset.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.FontCharSet

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

Syntax

'Declaration
Public Class FontCharSet _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As FontCharSet
public class FontCharSet : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

FontCharSet-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace