## BinaryWriter::Seek method


设置当前对象所表示的流的位置。

```cpp
int64_t System::IO::BinaryWriter::Seek(int offset, System::IO::SeekOrigin origin=System::IO::SeekOrigin::Begin)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| offset | int | 相对于 **origin** 指定位置的字节偏移量 |
| origin | System::IO::SeekOrigin | 指定计算偏移量的起始位置和方向 |

### ReturnValue

流的新位置

## 另见

* Enum [SeekOrigin](../../seekorigin/)
* Class [BinaryWriter](../)
* Namespace [System::IO](../../)
* Library [Aspose.Font for C++](../../../)
