---
title: "pasteFont(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstext/pastefont(_:)"
---

# pasteFont(_:)

This action method pastes font information from the font pasteboard onto the selected text or insertion point of a rich text object, or over all text of a plain text object.

## Declaration

```swift
func pasteFont(_ sender: Any?)
```

## See Also

### Action methods for editing

- [selectAll(_:)](appkit/nstext/selectall(_:).md)
- [copy(_:)](appkit/nstext/copy(_:).md)
- [cut(_:)](appkit/nstext/cut(_:).md)
- [paste(_:)](appkit/nstext/paste(_:).md)
- [copyFont(_:)](appkit/nstext/copyfont(_:).md)
- [copyRuler(_:)](appkit/nstext/copyruler(_:).md)
- [pasteRuler(_:)](appkit/nstext/pasteruler(_:).md)
- [delete(_:)](appkit/nstext/delete(_:).md)
