---
title: "convertImagePoint(toViewPoint:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/ikimageview/convertimagepoint(toviewpoint:)"
---

# convertImagePoint(toViewPoint:)

Converts an image coordinate to an image view coordinate.

## Declaration

```swift
func convertImagePoint(toViewPoint imagePoint: NSPoint) -> NSPoint
```

## Parameters

- `imagePoint`: A point specified in coordinates relative to the image.

## Return Value

Return Value A point specified in coordinates relative to the image view.

## See Also

### Converting Points and Rectangles

- [convertPoint(toImagePoint:)](quartz/ikimageview/convertpoint(toimagepoint:).md)
- [convertRect(toImageRect:)](quartz/ikimageview/convertrect(toimagerect:).md)
- [convertImageRect(toViewRect:)](quartz/ikimageview/convertimagerect(toviewrect:).md)
