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 cell values. If the CopyFormulas property is set to false, then the final value of any formulas will be copied.

Signature
C#
C#

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

Public Property CopyValues() As Boolean
Example
 
Code Block
csharp
csharp
titleC#
          
//--- Is the property object set to copy cell values?
          boolean willCopyValues = copyPasteProperties.CopyValues;

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

          '--- Set the property object to copy cell values.
          copyPasteProperties.CopyValues = True
        
Example