# NewTaskOptions

**Kind**: interface | **Module**: [Outlook](https://docs.interop.io/adapters/reference/javascript/outlook/index.md)

**Source**: https://docs.interop.io/adapters/reference/javascript/outlook/newtaskoptions/index.html

Options for creating a new task, including callbacks and display settings.

## Properties

- **`displaySettings`** (`{ left?: number; top?: number; width?: number; height?: number; action?: string; actionDelayMSecs?: number; }`, optional)
  Display settings for the Outlook item window.
- **`onCanceled`** (`() => any`, optional)
  Callback which will be executed on cancel.
- **`onSaved`** (`(task: Task) => any`, optional)
  Callback which will be executed on save & close.

## Related types

- [Task](https://docs.interop.io/adapters/reference/javascript/outlook/task/index.md)
