<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSStringDrawingContext/actualScaleFactor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSStringDrawingContext(py)actualScaleFactor"
  },
  "title" : "actualScaleFactor"
}
-->

# actualScaleFactor

The actual scale factor that the system applied to the font during drawing.

```
var actualScaleFactor: CGFloat { get }
```

## Discussion

If you specified a custom value in the [`minimumScaleFactor`](/documentation/AppKit/NSStringDrawingContext/minimumScaleFactor) property, when drawing is complete, this property contains the actual scale factor value that was used to draw the string.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)