MonobjcMonobjc Documented Class Library
TemporaryAttributesAtCharacterIndexLongestEffectiveRangeInRange Method (location, range, rangeLimit)
NamespacesMonobjc.AppKitNSLayoutManagerTemporaryAttributesAtCharacterIndexLongestEffectiveRangeInRange(NSUInteger, NSRange%, NSRange)

Returns the temporary attributes for the character at a given index, and by reference the maximum range over which the attributes apply.

Original signature is '- (NSDictionary *)temporaryAttributesAtCharacterIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer)range inRange:(NSRange)rangeLimit'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSDictionary TemporaryAttributesAtCharacterIndexLongestEffectiveRangeInRange(
	NSUInteger location,
	ref NSRange range,
	NSRange rangeLimit
)
Public Overridable Function TemporaryAttributesAtCharacterIndexLongestEffectiveRangeInRange ( _
	location As NSUInteger, _
	ByRef range As NSRange, _
	rangeLimit As NSRange _
) As NSDictionary
public:
virtual NSDictionary^ TemporaryAttributesAtCharacterIndexLongestEffectiveRangeInRange(
	NSUInteger location, 
	NSRange% range, 
	NSRange rangeLimit
)
Parameters
location (NSUInteger)
The index for which to return attributes. This value must not exceed the bounds of the receiver.
range (NSRange%)
If not NULL, on output, contains the maximum range over which the attributes and values are the same as those at location, clipped to rangeLimit.
rangeLimit (NSRange)
The range over which to search for continuous presence of the attributes at location. This value must not exceed the bounds of the receiver.
Return Value
The attributes for the character at location.
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)