Instance Method

alignment

Returns the horizontal alignment of text within the bounds of the annotation.

Declaration

- (NSTextAlignment)alignment;

Return Value

The horizontal alignment of text within the bounds of the annotation. Supported values are NSLeftTextAlignment, NSRightTextAlignment, and NSCenterTextAlignment.

See Also

Managing Text Alignment

- setAlignment:

Sets the horizontal alignment of text within the bounds of the annotation.

Deprecated