---
title: text
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uisimpletextprintformatter/text
---

# text

A string of plain text.

## Declaration

```swift
var text: String? { get set }
```

## Discussion

Discussion You cannot change the value of this property once drawing begins for a print job. The delegate method printInteractionControllerWillStartJob(_:) is called immediately before the formatting is set for the job. Assigning a value to this property replaces the value in the attributedText property with the same string data, albeit without any inherent style attributes. Instead, the print formatter styles the new string using the text attribute properties of this class.

## See Also

### Related Documentation

- [init(text:)](uikit/uisimpletextprintformatter/init(text:).md)

### Getting and setting the text

- [attributedText](uikit/uisimpletextprintformatter/attributedtext.md)
