AdjustLineHeightInTable Class

Add Document Grid Line Pitch To Lines in Table Cells.When the object is serialized out as xml, its qualified name is w:adjustLineHeightInTable.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.3.1 adjustLineHeightInTable (Add Document Grid Line Pitch To Lines in Table Cells)

This element specifies whether a document grid defined using the docGrid element (§17.6.5) that specifies a line grid (manually adding additional pitch to each line in the section) shall also be applied to lines within table cells in this section.

Typically, when additional line pitch is added to all lines in a section via the document grid, it is not applied to text in tables. This element, when present with a val attribute value of true (or equivalent), specifies that additional line pitch shall be added to lines in table cells.

[Example: Consider a WordprocessingML document with a single section, whose document grid is defined such that 25.9 points of additional line pitch are added to each line in the section, as follows:

<w:docGrid w:type="lines" w:linePitch="518"/>

If text was entered into this section, the default behavior would have line pitch only added to lines which are not in a table cell:

DocumentFormat.OpenXml.Wordprocessing.AdjustLineHe

However, if this compatibility setting is turned on:

<w:compat>
<w:adjustLineHeightInTable />
</w:compat>

Then all lines in this document would have the line pitch from the document grid added to them, resulting in the following output:

DocumentFormat.OpenXml.Wordprocessing.AdjustLineHe

end example]

Parent Elements

compat (§17.15.1.21)

This element’s content model is defined by the common boolean property definition in §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

AdjustLineHeightInTable Members

DocumentFormat.OpenXml.Wordprocessing Namespace