Sdílet prostřednictvím


SpacingRuleType.Val Property

Value.Represents the attribte in schema: m:val

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

Syntax

'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As IntegerValue
    Get
    Set
'Usage
Dim instance As SpacingRuleType
Dim value As IntegerValue

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public IntegerValue Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.IntegerValue
Returns Int32Value.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

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

Cc845210.2c3cc8e4-6060-4896-9a31-a4b69a345f93(en-us,office.14).png

1

1.5 spacing gap

Cc845210.f04cf0a6-ae2f-4eb8-87a6-e30f0336ffdd(en-us,office.14).png

2

2 spacing gap

Cc845210.5e3b7d57-0105-4490-ad9a-7bd1cdc722f6(en-us,office.14).png

3

Exactly

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

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

Cc845210.2e6cd558-574e-4df2-9c71-708adfe6f36e(en-us,office.14).png

4

Multiple

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

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

Cc845210.2c3cc8e4-6060-4896-9a31-a4b69a345f93(en-us,office.14).png

The possible values for this attribute are defined by the ST_SpacingRule simple type.

See Also

Reference

SpacingRuleType Class

SpacingRuleType Members

DocumentFormat.OpenXml.Math Namespace