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

# pasteRuler(_:)

This action method pastes paragraph style information from the ruler pasteboard onto the selected paragraphs of a rich text object.

## Declaration

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

## Discussion

Discussion It doesn’t apply to a plain text object.

## 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)
- [pasteFont(_:)](appkit/nstext/pastefont(_:).md)
- [copyRuler(_:)](appkit/nstext/copyruler(_:).md)
- [delete(_:)](appkit/nstext/delete(_:).md)
