Click or drag to resize

BarcodeSvgRendererRenderBarcode Method

Renders the specified barcode as a bitmap image.

Namespace:  Opait.Barcode
Assembly:  Opait.Barcode (in Opait.Barcode.dll) Version: 1.2.0.0
Syntax
C#
public string RenderBarcode(
	Barcode barcode,
	double width,
	double height,
	bool standalone = true
)

Parameters

barcode
Type: Opait.BarcodeBarcode
The barcode to render.
width
Type: SystemDouble
The width of the bitmap in pixels.
height
Type: SystemDouble
The height of the bitmap in pixels.
standalone (Optional)
Type: SystemBoolean
A flag to indicate whether to include XML headers for a standalone SVG file.

Return Value

Type: String
A bitmap rendering of the barcode.
See Also