---
title: "insertNewImage(_:frame:rotation:)"
framework: paperkit
role: symbol
role_heading: Instance Method
path: "paperkit/papermarkup/insertnewimage(_:frame:rotation:)"
---

# insertNewImage(_:frame:rotation:)

Add a new image on top of the paper.

## Declaration

```swift
mutating func insertNewImage(_ image: CGImage, frame: CGRect, rotation: CGFloat = 0)
```

## Parameters

- `image`: The image to add.
- `frame`: The frame to add the image at.
- `rotation`: The rotation in radians to add the element with.

## See Also

### Inserting elements

- [insertNewShape(configuration:frame:rotation:)](paperkit/papermarkup/insertnewshape(configuration:frame:rotation:).md)
- [insertNewLine(configuration:from:to:startMarker:endMarker:)](paperkit/papermarkup/insertnewline(configuration:from:to:startmarker:endmarker:).md)
- [insertNewTextbox(attributedText:frame:rotation:)](paperkit/papermarkup/insertnewtextbox(attributedtext:frame:rotation:)-53rs.md)
- [insertNewTextbox(attributedText:frame:rotation:)](paperkit/papermarkup/insertnewtextbox(attributedtext:frame:rotation:)-67igk.md)
