Поделиться через


FontScheme Class

Font Scheme.When the object is serialized out as xml, its qualified name is x:scheme.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.FontScheme

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

Syntax

'Декларация
Public Class FontScheme _
    Inherits OpenXmlLeafElement
'Применение
Dim instance As FontScheme
public class FontScheme : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 редакция 1]

18.8.35 scheme (Scheme)

Defines the font scheme, if any, to which this font belongs. When a font definition is part of a theme definition, then the font is categorized as either a major or minor font scheme component. When a new theme is chosen, every font that is part of a theme definition is updated to use the new major or minor font definition for that theme. Usually major fonts are used for styles like headings, and minor fonts are used for body and paragraph text.

Parent Elements

font (§18.8.22); rPr (§18.4.7)

Attributes

Description

val (Font Scheme)

Sets font scheme property.

The possible values for this attribute are defined by the ST_FontScheme simple type (§18.18.33).

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

© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.

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

FontScheme Members

DocumentFormat.OpenXml.Spreadsheet Namespace