Freigeben über


ColumnGapRule-Klasse

Matrix Column Gap Rule.When the object is serialized out as xml, its qualified name is m:cGpRule.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.SpacingRuleType
        DocumentFormat.OpenXml.Math.ColumnGapRule

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

Syntax

'Declaration
Public Class ColumnGapRule _
    Inherits SpacingRuleType
'Usage
Dim instance As ColumnGapRule
public class ColumnGapRule : SpacingRuleType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

22.1.2.19 cGpRule (Matrix Column Gap Rule)

This element specifies the type of gap (horizontal spacing) between columns of a matrix; the default is '0'. Horizontal spacing units can be ems or points (stored as twips).

Whether the element is absent or present without the val attribute, the default of the val attribute is 0 (or single spacing gap).

[Example: The following matrix has double spacing (2 ems) between columns:

The XML that represents this property in use is:

<m:mPr>
<m:cGpRule  m:val="2"/>
<m:mcs>
<m:mc>
<m:mcPr>
        <m:count  m:val="2"/>
<m:mcJc  m:val="center"/>
</m:mcPr>
</m:mc>
</m:mcs>
</m:mPr>

end example]

Parent Elements

mPr (§22.1.2.68)

Attributes

Description

val (Value)

Specifies the type of spacing between rows and/or columns. Possible values are 0, 1, 2, 3, or 4, whose definitions are contained in the following table:

Value

Column/Row Gap

Example

0

Single spacing gap (1 em)

1

1.5 spacing gap (1.5 ems)

2

2 spacing gap (2 ems)

3

Exactly(for columns, rely on value of cGp, measured in twips)

(for rows, rely on value of rSp, measured in points)

4

Multiple

(for columns, rely on value of cGp, measured in 0.5 em increments)

(for rows, rely on value of rSp, measured in lines)

The possible values for this attribute are defined by the ST_SpacingRule simple type (§22.1.3.11).

[Note: The W3C XML Schema definition of this element's content model (CT_SpacingRule) is located in §A.6.1. end note]

© 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

ColumnGapRule-Member

DocumentFormat.OpenXml.Math-Namespace