---
title: "withSymbolConfiguration(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsimage/withsymbolconfiguration(_:)"
---

# withSymbolConfiguration(_:)

Creates a new symbol image with the specified configuration.

## Declaration

```swift
func withSymbolConfiguration(_ configuration: NSImage.SymbolConfiguration) -> NSImage?
```

## Parameters

- `configuration`: The configuration details to apply.

## See Also

### Creating Symbol Images

- [NSImage.SymbolConfiguration](appkit/nsimage/symbolconfiguration-swift.class.md)
