CopyOptions Class
Represents the copy options.
Inheritance Hierarchy
SystemObject
  Aspose.CellsCopyOptions

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.11.0.0 (19.11)
Syntax
public class CopyOptions

The CopyOptions type exposes the following members.

Constructors
  NameDescription
Public methodCopyOptions
CopyOptions constructor.
Properties
  NameDescription
Public propertyColumnCharacterWidth
Indicates whether copying column width in unit of characters.
Public propertyCopyInvalidFormulasAsValues
If the formula is not valid for the dest destination, only copy values.
Public propertyCopyNames
Indicates whether copying the names.
Public propertyExtendToAdjacentRange
Indicates whether extend ranges when copying the range to adjacent range.
Public propertyReferToDestinationSheet
When copying the range in the same file and the chart refers to the source sheet, False means the copied chart's data source will not be changed. True means the copied chart's data source refers to the destination sheet.
Public propertyReferToSheetWithSameName
When copying a worksheet to another workbook and the worksheet contains the formulas which refer to other worksheets in MS Excel, the copied formulas should refer to source workbook. But sometimes we have copied other worksheets and we hope the copied formulas refer to other worksheets with the name in the same workbook, please set this property as true.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also