---
title: "CGSizeCreateDictionaryRepresentation(_:)"
framework: coregraphics
role: symbol
role_heading: Function
path: "coregraphics/cgsizecreatedictionaryrepresentation(_:)"
---

# CGSizeCreateDictionaryRepresentation(_:)

Returns a dictionary representation of the specified size.

## Declaration

```swift
func CGSizeCreateDictionaryRepresentation(_ size: CGSize) -> CFDictionary
```

## Parameters

- `size`: A size.

## Return Value

Return Value The dictionary representation of the size.

## See Also

### Creating a Dictionary Representation from a Geometric Primitive

- [CGPointCreateDictionaryRepresentation(_:)](coregraphics/cgpointcreatedictionaryrepresentation(_:).md)
- [CGRectCreateDictionaryRepresentation(_:)](coregraphics/cgrectcreatedictionaryrepresentation(_:).md)
