---
title: NSFontCollectionMatchingOptionKey
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nsfontcollectionmatchingoptionkey
---

# NSFontCollectionMatchingOptionKey

These constants are used by the matchingDescriptors(options:) and matchingDescriptors(forFamily:options:) options dictionary parameters.

## Declaration

```swift
struct NSFontCollectionMatchingOptionKey
```

## Topics

### Type Properties

- [includeDisabledFontsOption](appkit/nsfontcollectionmatchingoptionkey/includedisabledfontsoption.md)
- [removeDuplicatesOption](appkit/nsfontcollectionmatchingoptionkey/removeduplicatesoption.md)
- [disallowAutoActivationOption](appkit/nsfontcollectionmatchingoptionkey/disallowautoactivationoption.md)

### Initializers

- [init(rawValue:)](appkit/nsfontcollectionmatchingoptionkey/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting the Font Descriptors

- [matchingDescriptors](appkit/nsfontcollection/matchingdescriptors.md)
- [matchingDescriptors(forFamily:)](appkit/nsfontcollection/matchingdescriptors(forfamily:).md)
- [matchingDescriptors(forFamily:options:)](appkit/nsfontcollection/matchingdescriptors(forfamily:options:).md)
- [matchingDescriptors(options:)](appkit/nsfontcollection/matchingdescriptors(options:).md)
- [queryDescriptors](appkit/nsfontcollection/querydescriptors.md)
- [exclusionDescriptors](appkit/nsfontcollection/exclusiondescriptors.md)
