{{< psd/tize >}}
## StreamContainer.Seek method

Sets the position within the current stream.

```csharp
public virtual long Seek(long offset, SeekOrigin origin)
```

| Parameter | Type | Description |
| --- | --- | --- |
| offset | Int64 | A byte offset relative to the *origin* parameter. This value represents offset from the starting stream position passed in the StreamContainer constructor. |
| origin | SeekOrigin | A value of type SeekOrigin indicating the reference point used to obtain the new position. |

### Return Value

The new position within the current stream.

### See Also

* enum [SeekOrigin](../../seekorigin/)
* class [StreamContainer](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


