# `GSAnnotation.text`

*Instance Property*

The Text.

## Declaration

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

```objc
@property (nonatomic, strong) NSString * text;
```

[See also `text` in the Python API](https://docu.glyphsapp.com/#GSAnnotation.text)

```python
pyobjc_instanceMethods.text() -> str
pyobjc_instanceMethods.setText_(text: str)
```

## Discussion

Only available if type is GSAnnotationTypeText

