    

 ## On this page

  

 

 # setAutoSize

 Last update: 16.07.2025 

public [setAutoSize](set-auto-size.md)(flag: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))

sets the autoSize flag. If true, the array will automatically resize to arrays it is linked to.

#### Parameters

flag#### Throws

[ModelCenterException](../-model-center-exception/index.md)