Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UseAnsiKerningPairs class

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

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
public class UseAnsiKerningPairs : OnOffType

[ISO/IEC 29500-1 1st Edition]

useAnsiKerningPairs (Use ANSI Kerning Pairs from Fonts)

This element specifies whether applications shall use the 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 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 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.