CTParagraphStyleCreateCopy(_:)
Creates an immutable copy of a paragraph style.
Declaration
func CTParagraphStyleCreateCopy(_ paragraphStyle: CTParagraphStyle) -> CTParagraphStyleParameters
- paragraphStyle:
The style to copy. This parameter may not be
NULL.
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.