---
title: "init(name:)"
framework: pdfkit
role: symbol
role_heading: Initializer
path: "pdfkit/pdfactionnamed/init(name:)"
---

# init(name:)

Initializes the PDFActionName object with the specified named action.

## Declaration

```swift
init(name: PDFActionNamedName)
```

## Parameters

- `name`: The action name used to initialize the named action.

## Return Value

Return Value An initialized PDFActionNamed instance, or NULL if the object could not be initialized.

## Discussion

Discussion See PDFActionNamed for the names of named actions you can specify.
