Pitch Class
Font Pitch.When the object is serialized out as xml, its qualified name is w:pitch.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.Pitch
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public Class Pitch _
Inherits OpenXmlLeafElement
'Uso
Dim instance As Pitch
public class Pitch : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 1ª edición]
17.8.3.14 pitch (Font Pitch)
This element specifies the font pitch of the current 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 omitted, then its value shall be assumed to be default.
[Example: Consider the following information stored for a single font:
<w:font w:name="Courier New">
<w:pitch w:val="fixed" />
…
</w:font>
The pitch element specifies via its val attribute value of fixed that this is a fixed width font. end example]
Parent Elements |
---|
font (§17.8.3.10) |
Attributes |
Description |
---|---|
val (Value) |
Specifies the font pitch for the font. [Example: Consider the following information stored for a single font:
The val attribute value of variable specifies that this is a variable width font. end example] The possible values for this attribute are defined by the ST_Pitch simple type (§17.18.66). |
[Note: The W3C XML Schema definition of this element's content model (CT_Pitch) 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.