---
title: NSBaselineOffsetAttributeName
framework: appkit
role: symbol
role_heading: Global Variable
path: appkit/nsbaselineoffsetattributename
---

# NSBaselineOffsetAttributeName

The vertical offset for the position of the text.

## Declaration

```occ
extern NSAttributedStringKey NSBaselineOffsetAttributeName;
```

## Overview

Overview The value of this attribute is an NSNumber object containing a floating point value indicating the character’s offset from the baseline, in points. The default value is 0. important: This attribute is different from kCTLanguageAttributeName; you need to use kCTLanguageAttributeName if you are writing code for Core Text.

## See Also

### Getting rendering attribute keys

- [NSBackgroundColorAttributeName](appkit/nsbackgroundcolorattributename.md)
- [NSFontAttributeName](appkit/nsfontattributename.md)
- [NSForegroundColorAttributeName](appkit/nsforegroundcolorattributename.md)
- [NSGlyphInfoAttributeName](appkit/nsglyphinfoattributename.md)
- [NSKernAttributeName](appkit/nskernattributename.md)
- [NSLigatureAttributeName](appkit/nsligatureattributename.md)
- [NSParagraphStyleAttributeName](appkit/nsparagraphstyleattributename.md)
- [NSStrikethroughColorAttributeName](appkit/nsstrikethroughcolorattributename.md)
- [NSStrikethroughStyleAttributeName](appkit/nsstrikethroughstyleattributename.md)
- [NSStrokeColorAttributeName](appkit/nsstrokecolorattributename.md)
- [NSStrokeWidthAttributeName](appkit/nsstrokewidthattributename.md)
- [NSSuperscriptAttributeName](appkit/nssuperscriptattributename.md)
- [NSTrackingAttributeName](appkit/nstrackingattributename.md)
- [NSUnderlineColorAttributeName](appkit/nsunderlinecolorattributename.md)
- [NSUnderlineStyleAttributeName](appkit/nsunderlinestyleattributename.md)
