Click or drag to resize

ISvgRendererRenderBarcode Method

Renders the specified barcode as a bitmap image.

Namespace:  Opait.Barcoder.Api
Assembly:  Opait.Barcoder (in Opait.Barcoder.dll) Version: 1.3.4.0
Syntax
C#
string RenderBarcode(
	IEncoder barcode,
	double width,
	double height,
	bool standalone = true
)

Parameters

barcode
Type: Opait.Barcoder.ApiIEncoder
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
An SVG rendering of the barcode.
See Also