NoSpaceRaiseLower class

Office 2013 and later

Do Not Increase Line Height for Raised/Lowered Text. When the object is serialized out as xml, its qualified name is w:noSpaceRaiseLower.

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

public class NoSpaceRaiseLower : OnOffType

[ISO/IEC 29500-1 1st Edition]

noSpaceRaiseLower (Do Not Increase Line Height for Raised/Lowered Text)

This element specifies whether the height which is allotted to any given line of text when the contents of this document are displayed shall include additional spacing in order to ensure that all raised and/or lowered text can be fully displayed.

Typically, any extra space needed is added to the line to prevent raised and lowered text from being truncated or hidden. This element, when present with a val attribute value of true (or equivalent), specifies that the height of the line shall be determined solely by the spacing settings on the parent paragraph, and any raised/lowered text shall just be clipped if it exceeds that space.

[Example: Consider a WordprocessingML document with both raised and lowered text. The default presentation would have that text visible:

However, if this compatibility setting is turned on:

<w:compat>
  <w:noSpaceRaiseLower />
</w:compat>

Then no additional space should be added to the line height, resulting in the following output:

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.
Show: