## Array::Resize method


Changes the size of the specified array to the specified value or crates new array with specified size.

```cpp
template<typename Type> static void System::Array<T>::Resize(ArrayPtr<Type> &arr, int new_size)
```


| Parameter | Type | Description |
| --- | --- | --- |
| arr | ArrayPtr\<Type\>\& | [Array](../) to resize. If **arr** is null-pointer, the new array will be created |
| new_size | int | The new size of the array, or the size of the new array of **arr** is null |

## See Also

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.TeX for C++](../../../)
