CellMerge.VerticalMergeOriginal Property

vMergeOrig.Represents the attribte in schema: w:vMergeOrig

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

Syntax

'Declaration
<SchemaAttrAttribute(, "vMergeOrig")> _
Public Property VerticalMergeOriginal As EnumValue(Of VerticalMergeRevisionValues)
    Get
    Set
'Usage
Dim instance As CellMerge
Dim value As EnumValue(Of VerticalMergeRevisionValues)

value = instance.VerticalMergeOriginal

instance.VerticalMergeOriginal = value
[SchemaAttrAttribute(, "vMergeOrig")]
public EnumValue<VerticalMergeRevisionValues> VerticalMergeOriginal { get; set; }

Property Value

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

Remarks

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

Specifies the vertical merge setting which was removed from the parent table cell by this revision.

If this attribute is omitted, then the original vertical merge setting shall be assumed to be rest (not merged).

Consider a two-row by two-column table in which the merged cells in the second column are split, and this change is tracked as a revision. The annotation on the last cell in the table would appear as follows:

<w:tc>
  <w:tcPr>
    <w:cellMerge … w:vMergeOrig="cont" />
  </w:tcPr>
  …
</w:tc>

The vMergeOrig attribute value of cont specifies that the revision on the table cell resulted in it having its vertical merge property removed.

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

See Also

Reference

CellMerge Class

CellMerge Members

DocumentFormat.OpenXml.Wordprocessing Namespace