Returns an NSAttributedString object consisting of the characters and attributes within a given range in the receiver.
Original signature is '- (NSAttributedString *)attributedSubstringFromRange:(NSRange)aRange'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSAttributedString AttributedSubstringFromRange( NSRange aRange )
Public Overridable Function AttributedSubstringFromRange ( _ aRange As NSRange _ ) As NSAttributedString
public: virtual NSAttributedString^ AttributedSubstringFromRange( NSRange aRange )
Parameters
- aRange (NSRange)
- The range from which to create a new attributed string. aRange must lie within the bounds of the receiver.
Return Value
An NSAttributedString object consisting of the characters and attributes within aRange in the receiver.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)