Share via


CellMerge.VerticalMerge Property

Definition

vMerge

Represents the following attribute in the schema: w:vMerge

[DocumentFormat.OpenXml.SchemaAttr(23, "vMerge")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> VerticalMerge { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> VerticalMerge { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "vMerge")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues>? VerticalMerge { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:vMerge")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues>? VerticalMerge { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues>? VerticalMerge { get; set; }
member this.VerticalMerge : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "vMerge")>]
member this.VerticalMerge : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:vMerge")>]
member this.VerticalMerge : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.VerticalMergeRevisionValues> with get, set
Public Property VerticalMerge As EnumValue(Of VerticalMergeRevisionValues)

Property Value

Returns EnumValue<T>.

Attributes

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 applied to the parent table cell by this revision.

If this attribute is omitted, then no revised vertical merge setting is supplied for this revision. (If neither this nor the vMergeOrig attribute is specified, the revision may be ignored.)

Consider a two-row by two-column table in which the cells in the second column are merged, 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:vMerge="cont" />  
  </w:tcPr>  
  …  
</w:tc>  

The vMerge attribute value of cont specifies that the revision on the table cell resulted in it being merged with the previous set of vertically merged cells above it (whether that was one cell or many).

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

Applies to