Barcode2DPngRenderer Class
Provides methods to render a two-dimensional barcode as a PNG image.
public static class Barcode2DPngRendererMethods
| Name | Description |
|---|---|
| ToPng(Barcode2D) | Renders the barcode as PNG bytes with default options. |
| ToPng(Barcode2D, Barcode2DPngOptions) | Renders the barcode as PNG bytes with the specified options. |
| WriteToPng(Barcode2D, Stream) | Writes the barcode as PNG to the specified stream with default options. |
| WriteToPng(Barcode2D, Stream, Barcode2DPngOptions) | Writes the barcode as PNG to the specified stream with the specified options. |
ToPng overloads
ToPng(Barcode2D)
Barcode2DPngRenderer.csToPng(Barcode2D, Barcode2DPngOptions)
Barcode2DPngRenderer.csRenders the barcode as PNG bytes with the specified options.
public static byte[] ToPng(this Barcode2D barcode, Barcode2DPngOptions options)WriteToPng overloads
WriteToPng(Barcode2D, Stream)
Barcode2DPngRenderer.csWriteToPng(Barcode2D, Stream, Barcode2DPngOptions)
Barcode2DPngRenderer.csWrites the barcode as PNG to the specified stream with the specified options.
public static void WriteToPng(this Barcode2D barcode, Stream stream, Barcode2DPngOptions options)Parameters
barcodeBarcode2DstreamStreamoptionsBarcode2DPngOptions