SuppressTopSpacingWordPerfect Class

Emulate WordPerfect 5.x Line Spacing.When the object is serialized out as xml, its qualified name is w:suppressTopSpacingWP.

Inheritance Hierarchy


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


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


[ISO/IEC 29500-1 1st Edition] suppressTopSpacingWP (Use Static Text Leading)

(The terms baseline to baseline distance and unitsPerEm, used below, are defined in ISO/IEC 14496-22:2007.)

This element specifies that applications should use the values defined below to calculate the baseline to baseline distance (BTBD) in this document. This can result in lines appearing slightly condensed vertically.

Without this setting, applications calculate baseline to baseline distance using the metrics defined by ISO/IEC 14496-22:2007. This element, when present with a val attribute value of true (or equivalent), specifies that applications should calculate this as follows:

[Example: If this compatibility setting is turned on:

<w:suppressTopSpacingWP />

Then applications use a baseline to baseline distance as calculated before. With a 16 point font, this would result in a baseline to baseline distance of 18 points. 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


SuppressTopSpacingWordPerfect Members

DocumentFormat.OpenXml.Wordprocessing Namespace