BarcodePngRenderer Class
Provides methods to render a barcode as a PNG image.
public static class BarcodePngRendererMethods
| Name | Description |
|---|---|
| ToPng(Barcode) | Renders the barcode as PNG bytes with default options. |
| ToPng(Barcode, BarcodePngOptions) | Renders the barcode as PNG bytes with the specified options. |
| WriteToPng(Barcode, Stream) | Writes the barcode as PNG to the specified stream with default options. |
| WriteToPng(Barcode, Stream, BarcodePngOptions) | Writes the barcode as PNG to the specified stream with the specified options. |
ToPng overloads
ToPng(Barcode)
BarcodePngRenderer.csToPng(Barcode, BarcodePngOptions)
BarcodePngRenderer.csRenders the barcode as PNG bytes with the specified options.
public static byte[] ToPng(this Barcode barcode, BarcodePngOptions options)WriteToPng overloads
WriteToPng(Barcode, Stream)
BarcodePngRenderer.csWriteToPng(Barcode, Stream, BarcodePngOptions)
BarcodePngRenderer.csWrites the barcode as PNG to the specified stream with the specified options.
public static void WriteToPng(this Barcode barcode, Stream stream, BarcodePngOptions options)Parameters
barcodeBarcodestreamStreamoptionsBarcodePngOptions