---
title: "CGSizeMakeWithDictionaryRepresentation(_:_:)"
framework: coregraphics
role: symbol
role_heading: Function
path: "coregraphics/cgsizemakewithdictionaryrepresentation(_:_:)"
---

# CGSizeMakeWithDictionaryRepresentation(_:_:)

Fills in a size using the contents of the specified dictionary.

## Declaration

```swift
func CGSizeMakeWithDictionaryRepresentation(_ dict: CFDictionary, _ size: UnsafeMutablePointer<CGSize>) -> Bool
```

## Parameters

- `dict`: A dictionary that was previously returned from the function doc://com.apple.coregraphics/documentation/CoreGraphics/CGSizeCreateDictionaryRepresentation(_:).
- `size`: On return, the size created from the specified dictionary.

## Return Value

Return Value true if successful; otherwise false.

## See Also

### Creating a Geometric Primitive from a Dictionary Representation

- [CGPointMakeWithDictionaryRepresentation(_:_:)](coregraphics/cgpointmakewithdictionaryrepresentation(_:_:).md)
- [CGRectMakeWithDictionaryRepresentation(_:_:)](coregraphics/cgrectmakewithdictionaryrepresentation(_:_:).md)
