---
title: "setSymbolImage(_:contentTransition:options:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsimageview/setsymbolimage(_:contenttransition:options:)"
---

# setSymbolImage(_:contentTransition:options:)

Sets a symbol image using the specified content-transition effect and options.

## Declaration

```swift
@MainActor @preconcurrency func setSymbolImage(_ image: NSImage, contentTransition: some ContentTransitionSymbolEffect & SymbolEffect, options: SymbolEffectOptions = .default)
```

## Parameters

- `image`: The symbol image to set.
- `contentTransition`: The content transition to use when setting the symbol image.
- `options`: The options to use when setting the symbol image.

## See Also

### Configuring symbol effects

- [addSymbolEffect(_:options:animated:)](appkit/nsimageview/addsymboleffect(_:options:animated:)-4kete.md)
- [addSymbolEffect(_:options:animated:)](appkit/nsimageview/addsymboleffect(_:options:animated:)-4p7p7.md)
- [addSymbolEffect(_:options:animated:)](appkit/nsimageview/addsymboleffect(_:options:animated:)-66ckm.md)
- [removeSymbolEffect(ofType:options:animated:)](appkit/nsimageview/removesymboleffect(oftype:options:animated:)-8bszd.md)
- [removeSymbolEffect(ofType:options:animated:)](appkit/nsimageview/removesymboleffect(oftype:options:animated:)-4c6vq.md)
- [removeSymbolEffect(ofType:options:animated:)](appkit/nsimageview/removesymboleffect(oftype:options:animated:)-8tk6g.md)
- [removeAllSymbolEffects(options:animated:)](appkit/nsimageview/removeallsymboleffects(options:animated:).md)
