Freigeben über


AdjustLineHeightInTable-Klasse

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

Vererbungshierarchie

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

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

AdjustLineHeightInTable-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace