Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

A boolean value indicating whether or not to copy merged cells.

Signature
C#
C#
 public boolean CopyMergedCells{ get; set; }
Signature
vb.net
vb.net
Public Property CopyMergedCells() As Boolean
Remarks

If this value is set to false, any content inside merged cells in the source worksheet will be ignored.

Example
Code Block
csharp
csharp
titleC#

          //--- Is the property object set to copy merged cells?
          boolean willCopyMergedCells = copyPasteProperties.CopyMergedCells;

          //--- Set the property object to copy cell values.
          copyPasteProperties.CopyMergedCells = true;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Is the property object set to copy merged cells?
          Dim willCopyMergedCells As Boolean = copyPasteProperties.CopyMergedCells

          '--- Set the property object to copy merged cells.
          copyPasteProperties.CopyMergedCells = True