# Set Clipboard

Writes a text or an image to the Windows clipboard. The previous content of the clipboard is replaced.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `IgnoreErrors` | `Boolean` | ❌ No     | If True, an error that occurs while writing to the clipboard is ignored and the activity finishes without error. Default: `False`. |
| `Text`    | `String` | ❌ No     | The text to write to the clipboard. Either `Text` or `Image` must be set; they cannot be set together. If empty text is given, the clipboard is not changed. |
| `Image`   | `Byte[]` | ❌ No     | The bytes of the image to write to the clipboard (e.g. the content of a PNG or JPEG file). Either `Text` or `Image` must be set. If the bytes are not a valid image, the activity throws an error. If an empty array is given, the clipboard is not changed. |