## Save(Stream, int, long) {#save_2}

将流的数据保存（复制）到指定的流中。

```csharp
public virtual void Save(Stream destinationStream, int bufferSize, long length)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| destinationStream | Stream | 要将数据保存到的流。 |
| bufferSize | Int32 | 缓冲区大小。默认情况下[`ReadWriteBytesCount`](../readwritebytescount/)值被使用。 |
| length | Int64 | 要复制的流数据长度。默认情况下，长度设置为[`Length`](../length/)价值。 |

### 也可以看看

* class [StreamContainer](../)
* 命名空间 [Aspose.PSD](../../streamcontainer/)
* 部件 [Aspose.PSD](../../../)

---

## Save(Stream) {#save}

将流的数据保存（复制）到指定的流。使用默认缓冲区大小[`ReadWriteBytesCount`](../readwritebytescount/)和流[`Length`](../length/)值.

```csharp
public virtual void Save(Stream destinationStream)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| destinationStream | Stream | 要将数据保存到的流。 |

### 也可以看看

* class [StreamContainer](../)
* 命名空间 [Aspose.PSD](../../streamcontainer/)
* 部件 [Aspose.PSD](../../../)

---

## Save(Stream, int) {#save_1}

将所有流的数据保存（复制）到指定的流。使用流[`Length`](../length/)值.

```csharp
public virtual void Save(Stream destinationStream, int bufferSize)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| destinationStream | Stream | 要将数据保存到的流。 |
| bufferSize | Int32 | 缓冲器。 |

### 也可以看看

* class [StreamContainer](../)
* 命名空间 [Aspose.PSD](../../streamcontainer/)
* 部件 [Aspose.PSD](../../../)

---

## Save(string) {#save_3}

将流的数据保存（复制）到指定的流。使用默认缓冲区大小[`ReadWriteBytesCount`](../readwritebytescount/)和流[`Length`](../length/)值.

```csharp
public virtual void Save(string filePath)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| filePath | String | 保存流数据的文件路径。 |

### 也可以看看

* class [StreamContainer](../)
* 命名空间 [Aspose.PSD](../../streamcontainer/)
* 部件 [Aspose.PSD](../../../)

---

## Save(string, int) {#save_4}

将流的数据保存（复制）到指定的流。使用流[`Length`](../length/)值.

```csharp
public virtual void Save(string filePath, int bufferSize)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| filePath | String | 保存流数据的文件路径。 |
| bufferSize | Int32 | 缓冲区大小。默认情况下[`ReadWriteBytesCount`](../readwritebytescount/)值被使用。 |

### 也可以看看

* class [StreamContainer](../)
* 命名空间 [Aspose.PSD](../../streamcontainer/)
* 部件 [Aspose.PSD](../../../)

---

## Save(string, int, long) {#save_5}

将流的数据保存（复制）到指定的流中。

```csharp
public virtual void Save(string filePath, int bufferSize, long length)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| filePath | String | 保存流数据的文件路径。 |
| bufferSize | Int32 | 缓冲区大小。默认情况下[`ReadWriteBytesCount`](../readwritebytescount/)值被使用。 |
| length | Int64 | 要复制的流数据长度。默认情况下，长度设置为[`Length`](../length/)价值。 |

### 也可以看看

* class [StreamContainer](../)
* 命名空间 [Aspose.PSD](../../streamcontainer/)
* 部件 [Aspose.PSD](../../../)


