This documentation is archived and is not being maintained.

MergeCell Class

Merged Cell.When the object is serialized out as xml, its qualified name is x:mergeCell.

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

public class MergeCell : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

18.3.1.54 mergeCell (Merged Cell)

A single merged cell

Parent Elements

mergeCells (§18.3.1.55)

Attributes

Description

ref (Reference)

Range defined by merge cell.

The possible values for this attribute are defined by the ST_Ref simple type (§18.18.62).

[Note: The W3C XML Schema definition of this element’s content model (CT_MergeCell) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: