save
save(object, object)
Save barcode image to specific file in specific format.
save(filePath, format)
| Parameter | Type | Description |
|---|---|---|
| filePath | object | Path to save to. |
| format | object | BarCodeImageFormat value (PNG, BMP, JPEG, GIF) |
Examples
let generator = new BarCodeGenerator(EncodeTypes.CODE_128);
generator.save("file path", BarCodeImageFormat.GIF);
See Also
- class BarcodeGenerator
- assembly Aspose.BarCode