## SplitStreamContainer.Insert method

Inserts the stream container into specified position.

```csharp
public void Insert(int position, StreamContainer stream, bool disposeStream)
```

| Parameter | Type | Description |
| --- | --- | --- |
| position | Int32 | The position to insert to. |
| stream | StreamContainer | The stream container to insert. |
| disposeStream | Boolean | if set to `true` disposes stream. |

### Exceptions

| exception | condition |
| --- | --- |
| [FrameworkException](../../../aspose.imaging.coreexceptions/frameworkexception/) | Framework exception |

### See Also

* class [StreamContainer](../../streamcontainer/)
* class [SplitStreamContainer](../)
* namespace [Aspose.Imaging](../../splitstreamcontainer/)
* assembly [Aspose.Imaging](../../../)


