SuppressBottomSpacing Class

Ignore Exact Line Height for Last Line on Page.When the object is serialized out as xml, its qualified name is w:suppressBottomSpacing.

Inheritance Hierarchy


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


Public Class SuppressBottomSpacing _
    Inherits OnOffType
Dim instance As SuppressBottomSpacing
public class SuppressBottomSpacing : OnOffType


[ISO/IEC 29500-1 1st Edition] suppressBottomSpacing (Ignore Exact Line Height for Last Line on Page)

This element specifies whether an exact line height specified using the spacing element (Part 1, § with a lineRule attribute value of exact shall be ignored for the last line on each page.

Typically, if an exact line height has been specified using the spacing element, then all lines within that paragraph have the necessary line spacing added to them in order to meet this constraint. This element, when present with a val attribute value of true (or equivalent), specifies that no additional spacing shall be added below the last line on each page as a result of these line spacing requirements - a line shall be placed on the bottom of the page if its characters fit on that page ignoring the necessary space after.

[Example: Consider a WordprocessingML document whose first paragraph has a line spacing setting requiring exactly 48 points of space per line:

<w:spacing w:line="960" w:lineRule="exact" />

The default presentation would have the necessary amount of space added between each line such that all lines in the paragraph are centered within 48 points of spacing:


However, if this compatibility setting is turned on:

<w:suppressBottomSpacing />

Then that constraint must be lifted for the last line on the page (although all other lines are unaffected), resulting in the following output:


The first line from the following page was moved on the first page, as without being subjected to the line height constraint, it is possible to fit it at the bottom of the first page. end example]

Parent Elements

compat (Part 1, §

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


SuppressBottomSpacing Members

DocumentFormat.OpenXml.Wordprocessing Namespace