---
title: importsGraphics
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstext/importsgraphics
---

# importsGraphics

A Boolean that controls whether the receiver allows the user to import files by dragging.

## Declaration

```swift
var importsGraphics: Bool { get set }
```

## Discussion

Discussion If flag is true, the receiver allows the user to import files by dragging; if flag is false, it doesn’t. If the receiver is set to accept dragged files, it’s also made a rich text object. Subclasses may or may not accept dragged files by default.

## See Also

### Setting behavioral attributes

- [isEditable](appkit/nstext/iseditable.md)
- [isSelectable](appkit/nstext/isselectable.md)
- [isFieldEditor](appkit/nstext/isfieldeditor.md)
- [isRichText](appkit/nstext/isrichtext.md)
