## Span::to_Span method


Converts an array to a [Span](../).

```cpp
static ThisType System::Span<T>::to_Span(const typename BaseType::ArrayPtrT &array)
```


| Parameter | Type | Description |
| --- | --- | --- |
| array | const typename BaseType::ArrayPtrT\& | The array to convert. |

### ReturnValue

A span representing the array.

## See Also

* Class [Span](../)
* Class [Span](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
