# `GSAlignmentZone initWithElementString:`

*Initializer*

Initializes a new instance of the GSAlignmentZone class with an element string.

## Declaration

```swift
init(elementString string: String)
```

```objc
- (instancetype) initWithElementString:(NSString *) string;
```

```python
initWithElementString_(string: str) -> GSAlignmentZone
```

## Parameters

- `string` — The element string to initialize with.

## Return Value

A new instance of the GSAlignmentZone class.

