---
title: NSTextEffectAttributeName
framework: appkit
role: symbol
role_heading: Global Variable
path: appkit/nstexteffectattributename
---

# NSTextEffectAttributeName

An attribute that applies a text effect to the text.

## Declaration

```occ
extern NSAttributedStringKey const NSTextEffectAttributeName;
```

## Overview

Overview The value of this attribute is an NSString object. Use this attribute to specify a text effect, such as NSTextEffectLetterpressStyle. The default value of this property is nil, indicating no text effect.

## See Also

### Getting text attribute keys

- [NSCursorAttributeName](appkit/nscursorattributename.md)
- [NSLinkAttributeName](appkit/nslinkattributename.md)
- [NSMarkedClauseSegmentAttributeName](appkit/nsmarkedclausesegmentattributename.md)
- [NSShadowAttributeName](appkit/nsshadowattributename.md)
- [NSSpellingStateAttributeName](appkit/nsspellingstateattributename.md)
- [NSTextAlternativesAttributeName](appkit/nstextalternativesattributename.md)
- [NSTextHighlightColorSchemeAttributeName](appkit/nstexthighlightcolorschemeattributename.md)
- [NSTextHighlightStyleAttributeName](appkit/nstexthighlightstyleattributename.md)
- [NSToolTipAttributeName](appkit/nstooltipattributename.md)
