## Stream::SetLength method


Sets the length of the stream represented by the current object.

```cpp
virtual void System::IO::Stream::SetLength(int64_t value)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | int64_t | The length in bytes to set |

## See Also

* Class [Stream](../)
* Namespace [System::IO](../../)
* Library [Aspose.PUB for C++](../../../)
