Sets the alignment characteristic of the paragraph style attribute for the characters in aRange to alignment.
Original signature is '- (void)setAlignment:(NSTextAlignment)alignment range:(NSRange)aRange'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static void SetAlignmentRange( this NSMutableAttributedString __target, NSTextAlignment alignment, NSRange aRange )
<ExtensionAttribute> _ Public Shared Sub SetAlignmentRange ( _ __target As NSMutableAttributedString, _ alignment As NSTextAlignment, _ aRange As NSRange _ )
[ExtensionAttribute] public: static void SetAlignmentRange( NSMutableAttributedString^ __target, NSTextAlignment alignment, NSRange aRange )

- __target (NSMutableAttributedString)
- The target instance.
- alignment (NSTextAlignment)
- MISSING
- aRange (NSRange)
- MISSING

In Visual Basic and C#, you can call this method as an instance method on any object of type NSMutableAttributedString. When you use instance method syntax to call this method, omit the first parameter.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)