## Array::Reverse(const ArrayPtr\<Type\>\&) method


Reverses elements in the specified array.

```cpp
template<typename Type> static void System::Array<T>::Reverse(const ArrayPtr<Type> &arr)
```


| Parameter | Type | Description |
| --- | --- | --- |
| arr | const ArrayPtr\<Type\>\& | Target array |

## See Also

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## Array::Reverse(const ArrayPtr\<Type\>\&, int, int) method


Reverses a range of elements in the specified array.

```cpp
template<typename Type> static void System::Array<T>::Reverse(const ArrayPtr<Type> &arr, int startIndex, int count)
```


| Parameter | Type | Description |
| --- | --- | --- |
| arr | const ArrayPtr\<Type\>\& | Target array |
| startIndex | int | Index in the array at which the range to reverse start |
| count | int | The size of the range to reverse |

## See Also

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