Einhugur macOS Bridge plugin. |

# NSSegmentedControl.SegmentAlignment Method

Getter setter method for setting or getting the text alignment for the segment.

SegmentAlignment(
index as Integer) as EinhugurMacOSBridge.NSTextAlignment
SegmentAlignment(
index as Integer
assigns value as EinhugurMacOSBridge.NSTextAlignment)

#### Parameters

index
  Index of the segment to get or set the alignment for. (Zero based)
value (assignment parameter)
  The value to set.

#### Returns

EinhugurMacOSBridge.NSTextAlignment

#### Remarks

You need macOS 10.13 or later for this method to actually do something.

#### See Also

NSSegmentedControl Class