Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

A boolean value indicating whether or not to copy comments. If this value is set to true, then any comments attached to cells in the copy area will be copied.

Signature
C#
C#

 public boolean CopyComments{ get; set; }
Signature
vb.net
vb.net

Public Property CopyComments() As Boolean
Example
 
Code Block
csharp
csharp
titleC#
          
//--- Is the property object set to copy comments?
          boolean willCopyComments = copyPasteProperties.CopyComments;

          //--- Set the property object to copy cell values.
          copyPasteProperties.CopyComments = true;
        
Code Block
vb.net
vb.net
titlevb.net
          
'--- Is the property object set to copy comments?
          Dim willCopyComments As Boolean = copyPasteProperties.CopyComments

          '--- Set the property object to copy comments.
          copyPasteProperties.CopyComments = True
        
Example