---
title: "orthographyCheckingResult(range:orthography:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/nstextcheckingresult/orthographycheckingresult(range:orthography:)"
---

# orthographyCheckingResult(range:orthography:)

Creates and returns a text checking result with the specified orthography.

## Declaration

```swift
class func orthographyCheckingResult(range: NSRange, orthography: NSOrthography) -> NSTextCheckingResult
```

## Parameters

- `range`: The range of the detected result.
- `orthography`: An orthography object that describes the script.

## Return Value

Return Value Returns an NSTextCheckingResult with the specified range and a resultType of orthography.

## See Also

### Text Checking Results for Orthography

- [orthography](foundation/nstextcheckingresult/orthography.md)
