UseAnsiKerningPairs Class

Use ANSI Kerning Pairs from Fonts.When the object is serialized out as xml, its qualified name is w:useAnsiKerningPairs.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.UseAnsiKerningPairs

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

Syntax

'Declaration
Public Class UseAnsiKerningPairs _
    Inherits OnOffType
'Usage
Dim instance As UseAnsiKerningPairs
public class UseAnsiKerningPairs : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

9.7.3.49 useAnsiKerningPairs (Use ANSI Kerning Pairs from Fonts)

This element specifies whether applications shall use the ANSI or Unicode kerning pair information from fonts stored in the document when displaying those characters within the document's contents.

Typically, applications shall use the Unicode kerning pair information in order to determine all possible kerning pairs in the fonts in use. This element, when present with a val attribute value of true (or equivalent), specifies that the ANSI kerning information shall be used instead.

[Example: Consider a WordprocessingML document with text that contains one or more kerning pairs.

If this compatibility setting is turned on:

<w:compat>
<w:useAnsiKerningPairs />
</w:compat>

Then the ANSI kerning pairs are used in place of the Unicode kerning pairs, potentially resulting in different line breaks.

end example]

Parent Elements

compat (Part 1, §17.15.1.21)

This element’s content model is defined by the common boolean property definition in Part 1, §17.17.4.

© 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

UseAnsiKerningPairs Members

DocumentFormat.OpenXml.Wordprocessing Namespace