MonobjcMonobjc Documented Class Library
SetAlignmentRange Method (alignment, aRange)
NamespacesMonobjc.AppKitNSTextViewSetAlignmentRange(NSTextAlignment, NSRange)

Sets the alignment of the paragraphs containing characters in the specified range.

Original signature is '- (void)setAlignment:(NSTextAlignment)alignment range:(NSRange)aRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetAlignmentRange(
	NSTextAlignment alignment,
	NSRange aRange
)
Public Overridable Sub SetAlignmentRange ( _
	alignment As NSTextAlignment, _
	aRange As NSRange _
)
public:
virtual void SetAlignmentRange(
	NSTextAlignment alignment, 
	NSRange aRange
)
Parameters
alignment (NSTextAlignment)
The new alignment.
aRange (NSRange)
The range of characters whose paragraphs will have their alignment set.
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)