MonobjcMonobjc Documented Class Library
TemporaryAttributeAtCharacterIndexEffectiveRange Method (attrName, location, range)
NamespacesMonobjc.AppKitNSLayoutManagerTemporaryAttributeAtCharacterIndexEffectiveRange(NSString, NSUInteger, NSRange%)

Returns the value for the temporary attribute with a given name of the character at a given index, and by reference the range over which the attribute applies.

Original signature is '- (id)temporaryAttribute:(NSString *)attrName atCharacterIndex:(NSUInteger)location effectiveRange:(NSRangePointer)range'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id TemporaryAttributeAtCharacterIndexEffectiveRange(
	NSString attrName,
	NSUInteger location,
	ref NSRange range
)
Public Overridable Function TemporaryAttributeAtCharacterIndexEffectiveRange ( _
	attrName As NSString, _
	location As NSUInteger, _
	ByRef range As NSRange _
) As Id
public:
virtual Id^ TemporaryAttributeAtCharacterIndexEffectiveRange(
	NSString^ attrName, 
	NSUInteger location, 
	NSRange% range
)
Parameters
attrName (NSString)
The name of a temporary attribute.
location (NSUInteger)
The index for which to return attributes. This value must not exceed the bounds of the receiver.
range (NSRange%)
If non-NULL:
Return Value
The value for the temporary attribute named attrName of the character at index location, or nil if there is no such attribute.
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)