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
Wiki Markup
{description}
{excerpt}A boolean value indicating whether or not to copy merged cells. {excerpt}
{signature:C#}
 public boolean CopyMergedCells{ get; set; }
{signature}{signature: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#}

          //--- 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:vb.net|title=vb.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}