Creates and returns a text checking result after locating a language script.
Original signature is '+ (NSTextCheckingResult *)orthographyCheckingResultWithRange:(NSRange)range orthography:(NSOrthography *)orthography'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSTextCheckingResult OrthographyCheckingResultWithRangeOrthography( NSRange range, NSOrthography orthography )
Public Shared Function OrthographyCheckingResultWithRangeOrthography ( _ range As NSRange, _ orthography As NSOrthography _ ) As NSTextCheckingResult
public: static NSTextCheckingResult^ OrthographyCheckingResultWithRangeOrthography( NSRange range, NSOrthography^ orthography )
Parameters
- range (NSRange)
- The range of the detected result.
- orthography (NSOrthography)
- An orthograhy object that describes the script.
Return Value
Returns an NSTextCheckingResult with the specified range and a resultType of NSTextCheckingTypeOrthography.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)