<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributedString/LineHeight/multiple(factor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation16AttributedStringV8CoreTextE10LineHeightV8multiple6factorAF0dA07CGFloatV_tFZ"
  },
  "title" : "multiple(factor:)"
}
-->

# multiple(factor:)

Constant line height based on a multiple of the point size.

```
static func multiple(factor: CGFloat) -> AttributedString.LineHeight
```

## Discussion

Definines the line height based on the largest point size multiplied
by `factor`, regardless of the effective ascent and descent of the
fonts in use.

---

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)