Panose1Number Class

Pansose-1 Typeface Classification Number.When the object is serialized out as xml, its qualified name is w:panose1.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

17.8.3.13 panose1 (Panose-1 Typeface Classification Number)

This element specifies the Panose-1 classification number for the current font using the mechanism defined in §4.2.7.17 of ISO/IEC 14496-22:2007. 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 omitted, then no Panose-1 information is available.

[Example: Consider the following information stored for a single font:

<w:font w:name="Times New Roman">
<w:panose1 w:val="02020603050405020304" />
…
</w:font>

The panose1 element specifies its Panose-1 number via its val attribute value of 02020603050405020304. end example]

Parent Elements

font (§17.8.3.10)

Attributes

Description

val (Value)

Specifies the Panose-1 classification number for the font, stored as a series of two digit hexadecimal encodings of each digits of the Panose number.

[Example: Consider the following information stored for a single font:

x

The val attribute specifies that the digits in the Panose-1 number are: 2,15,6,3,5,2,3,4. end example]

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

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

© ISO/IEC29500: 2008.

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

Panose1Number Members

DocumentFormat.OpenXml.Wordprocessing Namespace