MonobjcMonobjc Documented Class Library
FirstRectForCharacterRangeActualRange Method (aRange, actualRange)
NamespacesMonobjc.AppKitINSTextInputClientFirstRectForCharacterRangeActualRange(NSRange, NSRange%)

Returns the first logical boundary rectangle for characters in the given range. (required)

Original signature is '- (NSRect)firstRectForCharacterRange:(NSRange)aRange actualRange:(NSRangePointer)actualRange'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSRect FirstRectForCharacterRangeActualRange(
	NSRange aRange,
	ref NSRange actualRange
Function FirstRectForCharacterRangeActualRange ( _
	aRange As NSRange, _
	ByRef actualRange As NSRange _
) As NSRect
NSRect FirstRectForCharacterRangeActualRange(
	NSRange aRange, 
	NSRange% actualRange
aRange (NSRange)
The character range whose boundary rectangle is returned.
actualRange (NSRange%)
If non-NULL, contains the character range corresponding to the returned area if it was adjusted, for example, to a grapheme cluster boundary or characters in the first line fragment.
Return Value
The boundary rectangle for the given range of characters, in screen coordinates. The rectangle’s size value can be negative if the text flows to the left.
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)