## MemoryStream::set_Capacity method


Sets the capacity of the underlying memory buffer.

```cpp
void System::IO::MemoryStream::set_Capacity(int value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The new capacity in bytes to set |

## See Also

* Class [MemoryStream](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
