seek method
seek
Sets the position within the current stream.
Returns
The new position within the current stream.
def seek(self, offset, origin):
...
Parameter | Type | Description |
---|---|---|
offset | int | 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. |
See Also
- module
aspose.cad
- class
SeekOrigin
- class
StreamContainer