MonobjcMonobjc Documented Class Library
LineBreakByHyphenatingBeforeIndexWithinRange Method (__target, location, aRange)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsLineBreakByHyphenatingBeforeIndexWithinRange(NSAttributedString, NSUInteger, NSRange)

Returns the index of the closest character before the given index, and within the given range, that can be placed on a new line by hyphenating.

Original signature is '- (NSUInteger)lineBreakByHyphenatingBeforeIndex:(NSUInteger)location withinRange:(NSRange)aRange'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSUInteger LineBreakByHyphenatingBeforeIndexWithinRange(
	this NSAttributedString __target,
	NSUInteger location,
	NSRange aRange
)
<ExtensionAttribute> _
Public Shared Function LineBreakByHyphenatingBeforeIndexWithinRange ( _
	__target As NSAttributedString, _
	location As NSUInteger, _
	aRange As NSRange _
) As NSUInteger
[ExtensionAttribute]
public:
static NSUInteger LineBreakByHyphenatingBeforeIndexWithinRange(
	NSAttributedString^ __target, 
	NSUInteger location, 
	NSRange aRange
)
Parameters
__target (NSAttributedString)
The target instance.
location (NSUInteger)
MISSING
aRange (NSRange)
MISSING
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSAttributedString_AppKitAdditions.LineBreakByHyphenatingBeforeIndexWithinRange(Monobjc.Foundation.NSAttributedString,Monobjc.Foundation.NSUInteger,Monobjc.Foundation.NSRange)"]

Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSAttributedString. When you use instance method syntax to call this method, omit the first parameter.
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)