# PasteMode Type

> PasteMode type alias in the TX Sheet Control TypeScript API for Node.js: Selects content and formatting independently. Covers a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > PasteMode Type
- **264 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/pastemode/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/pastemode/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/pastemode/llms-full.txt

---

Selects content and formatting independently; transpose swaps the copied rectangle's axes.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Syntax

```typescript
type PasteMode = 'all' | 'values' | 'formulas' | 'transpose' | 'formatting' | 'link';
```

### Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

```typescript
const value = 'values';
console.log(value);
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## Nearby

- **Previous:** [paintScene Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/paintscene/llms-full.txt)
- **Next:** [PasteOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/pasteoptions/llms-full.txt)
