MonobjcMonobjc Documented Class Library
SetTextAlignment Method (alignment)
NamespacesMonobjc.AppKitNSFormSetTextAlignment(NSInteger)

Sets the alignment for all of the receiver’s editable text.

Original signature is '- (void)setTextAlignment:(NSInteger)alignment'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetTextAlignment(
	NSInteger alignment
)
Public Overridable Sub SetTextAlignment ( _
	alignment As NSInteger _
)
public:
virtual void SetTextAlignment(
	NSInteger alignment
)
Parameters
alignment (NSInteger)
The alignment can be one of the following constants: NSRightTextAlignment, NSCenterTextAlignment, or NSLeftTextAlignment.
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)