Поделиться через


VerticalMerge.Val Property

Vertical Merge Type.Represents the attribte in schema: w:val

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

Syntax

'Декларация
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of MergedCellValues)
    Get
    Set
'Применение
Dim instance As VerticalMerge
Dim value As EnumValue(Of MergedCellValues)

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public EnumValue<MergedCellValues> Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<MergedCellValues>
Returns EnumValue<T>.

Remarks

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

Specifies how the table cell is part of a vertically merged region. This determines whether the cell should join onto an existing grouping of merged cells if any exist, or start a new group of merged cells. Refer to the simple type definition for a full description of each type.

If this attribute is omitted, its value shall be assumed to be continue.

Consider a table cell where a vertical cell merge begins. This setting is represented as the following WordprocessingML:

<w:tcPr>
    <w:vmerge w:val="restart"/>
</w:tcPr>

The attribute value of restart specifies that this element shall start a new vertically merged region in this table.

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

See Also

Reference

VerticalMerge Class

VerticalMerge Members

DocumentFormat.OpenXml.Wordprocessing Namespace