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 row height.

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

If this value is set to true, then row height of rows in the destination worksheet will be adjusted to match the row height from the corresponding row in the source worksheet. It is recommended that you do not turn on this setting without testing the results as multiple copy-paste operations into a worksheet may have undesired affects.

Example
Code Block
csharp
csharp
titleC#

          //--- Is the property object set to copy row height?
          boolean willCopyRowHeight = copyPasteProperties.CopyRowHeight;

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

          '--- Is the property object set to copy row height?
          Dim willCopyRowHeight As Boolean = copyPasteProperties.CopyRowHeight

          '--- Set the property object to copy row height.
          copyPasteProperties.CopyRowHeight = True