CellMerge.VerticalMerge-Eigenschaft
vMerge.Represents the attribte in schema: w:vMerge
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "vMerge")> _
Public Property VerticalMerge As EnumValue(Of VerticalMergeRevisionValues)
Get
Set
'Usage
Dim instance As CellMerge
Dim value As EnumValue(Of VerticalMergeRevisionValues)
value = instance.VerticalMerge
instance.VerticalMerge = value
[SchemaAttrAttribute(, "vMerge")]
public EnumValue<VerticalMergeRevisionValues> VerticalMerge { get; set; }
Eigenschaftswert
Typ: DocumentFormat.OpenXml.EnumValue<VerticalMergeRevisionValues>
Returns EnumValue<T>.
Hinweise
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.