
**Inheritance:**
java.lang.Object
```
public class LayoutOptions
```

Used to specify style and additional options of layout of shapes to perform Re-Layout of page(pages).
## Constructors

| Constructor | Description |
| --- | --- |
| [LayoutOptions()](#LayoutOptions--) | Initializes a new instance of LayoutOptions. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getDirection()](#getDirection--) | Used to set direction of shapes layout. |
| [getEnlargePage()](#getEnlargePage--) | Defines whether need enlarge page to fit drawing or not. |
| [getLayoutStyle()](#getLayoutStyle--) | Used to specify style of layout. |
| [getSpaceShapes()](#getSpaceShapes--) | Defines the spacing between the shapes in inches. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setDirection(int value)](#setDirection-int-) | For the description of this property, please see [getDirection()](../../com.aspose.diagram/layoutoptions\#getDirection--) |
| [setEnlargePage(boolean value)](#setEnlargePage-boolean-) | For the description of this property, please see [getEnlargePage()](../../com.aspose.diagram/layoutoptions\#getEnlargePage--) |
| [setLayoutStyle(int value)](#setLayoutStyle-int-) | For the description of this property, please see [getLayoutStyle()](../../com.aspose.diagram/layoutoptions\#getLayoutStyle--) |
| [setSpaceShapes(float value)](#setSpaceShapes-float-) | For the description of this property, please see [getSpaceShapes()](../../com.aspose.diagram/layoutoptions\#getSpaceShapes--) |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### LayoutOptions() {#LayoutOptions--}
```
public LayoutOptions()
```


Initializes a new instance of LayoutOptions.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getDirection() {#getDirection--}
```
public int getDirection()
```


Used to set direction of shapes layout. Default value is TopToBottom.

**Returns:**
int
### getEnlargePage() {#getEnlargePage--}
```
public boolean getEnlargePage()
```


Defines whether need enlarge page to fit drawing or not. Default value is false.

**Returns:**
boolean
### getLayoutStyle() {#getLayoutStyle--}
```
public int getLayoutStyle()
```


Used to specify style of layout. Default value is FlowChart.

**Returns:**
int
### getSpaceShapes() {#getSpaceShapes--}
```
public float getSpaceShapes()
```


Defines the spacing between the shapes in inches. Default value 0.3 inch ~ 7.5 mm.

**Returns:**
float
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setDirection(int value) {#setDirection-int-}
```
public void setDirection(int value)
```


For the description of this property, please see [getDirection()](../../com.aspose.diagram/layoutoptions\#getDirection--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setEnlargePage(boolean value) {#setEnlargePage-boolean-}
```
public void setEnlargePage(boolean value)
```


For the description of this property, please see [getEnlargePage()](../../com.aspose.diagram/layoutoptions\#getEnlargePage--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setLayoutStyle(int value) {#setLayoutStyle-int-}
```
public void setLayoutStyle(int value)
```


For the description of this property, please see [getLayoutStyle()](../../com.aspose.diagram/layoutoptions\#getLayoutStyle--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setSpaceShapes(float value) {#setSpaceShapes-float-}
```
public void setSpaceShapes(float value)
```


For the description of this property, please see [getSpaceShapes()](../../com.aspose.diagram/layoutoptions\#getSpaceShapes--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

