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 column width.

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

If this value is set to true, then column width of rows in the destination worksheet will be adjusted to match the column width from the corresponding column 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 column width?
          boolean willCopyColumnWidth = copyPasteProperties.CopyColumnWidth;

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

          '--- Is the property object set to copy column width?
          Dim willCopyColumnWidth As Boolean = copyPasteProperties.CopyColumnWidth

          '--- Set the property object to copy column width.
          copyPasteProperties.CopyColumnWidth = True