## Save(Stream, BarCodeImageFormat) {#save}

Save barcode image to stream in specific format.

```csharp
public void Save(Stream stream, BarCodeImageFormat format)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | Output System.IO.Stream. |
| format | BarCodeImageFormat | Specifies the file format of the output image. |

### See Also

* enum [BarCodeImageFormat](../../barcodeimageformat/)
* class [BarcodeGenerator](../)
* namespace [Aspose.BarCode.Generation](../../../aspose.barcode.generation/)
* assembly [Aspose.BarCode](../../../)

---

## Save(string, BarCodeImageFormat) {#save_2}

Save barcode image to specific file in specific format.

```csharp
public void Save(string filename, BarCodeImageFormat format)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filename | String | Path to save to. |
| format | BarCodeImageFormat | Specifies the file format of the output image. |

### See Also

* enum [BarCodeImageFormat](../../barcodeimageformat/)
* class [BarcodeGenerator](../)
* namespace [Aspose.BarCode.Generation](../../../aspose.barcode.generation/)
* assembly [Aspose.BarCode](../../../)

---

## Save(string) {#save_1}

Save barcode image to specific file.

```csharp
public void Save(string filename)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filename | String | Path to save to. |

### See Also

* class [BarcodeGenerator](../)
* namespace [Aspose.BarCode.Generation](../../../aspose.barcode.generation/)
* assembly [Aspose.BarCode](../../../)


