BarcodeControlDrawHDC Method (IntPtr, Single, Single, UnitOfMeasure)ByteScout Barcode SDK
Draws the barcode on HDC graphics context.

Namespace:  Bytescout.BarCode
Assembly:  Bytescout.BarCode.WinForms (in Bytescout.BarCode.WinForms.dll) Version: 7.6.3.1256-master
Syntax

public void DrawHDC(
	IntPtr hdc,
	float left,
	float top,
	UnitOfMeasure unit
)

Parameters

hdc
Type: SystemIntPtr
The device context to draw the barcode on.
left
Type: SystemSingle
The coordinate of leftmost barcode point in specified units.
top
Type: SystemSingle
The coordinate of topmost barcode point in specified units.
unit
Type: Bytescout.BarCodeUnitOfMeasure
The unit of measure for coordinates.

Implements

IBarcodeDrawHDC(IntPtr, Single, Single, UnitOfMeasure)
See Also

Reference