---
title: "CTParagraphStyleCreateCopy(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctparagraphstylecreatecopy(_:)"
---

# CTParagraphStyleCreateCopy(_:)

Creates an immutable copy of a paragraph style.

## Declaration

```swift
func CTParagraphStyleCreateCopy(_ paragraphStyle: CTParagraphStyle) -> CTParagraphStyle
```

## Parameters

- `paragraphStyle`: The style to copy. This parameter may not be NULL.

## Return Value

Return Value A valid reference to an immutable CTParagraphStyle object that is a copy of the one passed into paragraphStyle, If the paragraphStyle reference is valid; otherwise NULL, if any error occurred, including being supplied with an invalid reference.

## See Also

### Creating Paragraph Styles

- [CTParagraphStyleCreate(_:_:)](coretext/ctparagraphstylecreate(_:_:).md)
