
**Inheritance:**
java.lang.Object
```
public class CopyToOptions
```

Allows to specify additional options when copying project data.
## Constructors

| Constructor | Description |
| --- | --- |
| [CopyToOptions()](#CopyToOptions--) | Initializes a new instance of the [CopyToOptions](../../com.aspose.tasks/copytooptions) class. |
## Methods

| Method | Description |
| --- | --- |
| [getCopyViewData()](#getCopyViewData--) | Gets a value indicating whether to copy view data while copying project data. |
| [setCopyViewData(boolean value)](#setCopyViewData-boolean-) | Sets a value indicating whether to copy view data while copying project data. |
### CopyToOptions() {#CopyToOptions--}
```
public CopyToOptions()
```


Initializes a new instance of the [CopyToOptions](../../com.aspose.tasks/copytooptions) class.

### getCopyViewData() {#getCopyViewData--}
```
public final boolean getCopyViewData()
```


Gets a value indicating whether to copy view data while copying project data. Default value is true.

**Returns:**
boolean - a value indicating whether to copy view data while copying project data.
### setCopyViewData(boolean value) {#setCopyViewData-boolean-}
```
public final void setCopyViewData(boolean value)
```


Sets a value indicating whether to copy view data while copying project data. Default value is true.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether to copy view data while copying project data. |

