A boolean value indicating whether or not to copy column width.

 public boolean CopyColumnWidth{ get; set; }
Public Property CopyColumnWidth() As Boolean

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.


          //--- Is the property object set to copy column width?
          boolean willCopyColumnWidth = copyPasteProperties.CopyColumnWidth;

          //--- Set the property object to copy cell values.
          copyPasteProperties.CopyColumnWidth = true;
        

          '--- 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