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}{signature:
}
Signature
vb.net
vb.net
Public Property CopyMergedCells() As Boolean
{signature}
{remarks}
If this value is set to false, any content inside merged cells in the source worksheet will be ignored.
{remarks}
{example}{code:csharp|title=C#}
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} {code:
Code Block
vb.net
|title=
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
        
{code} {example}