BitmapToClipboard method NET

Utility.BitmapToClipboard method

Copies the barcode image to the clipboard as a device-independent bitmap (DIB).

Namespace: Inlite.BarcodeGenerator

Assembly: BarcodesForDocuments.NF

Syntax

static bool BitmapToClipboard (System.Drawing.Bitmap bmp)

Parameters

bmp

Bitmap created by CreateBarcode method

Returns

true if successful.  false otherwise.

Remarks

pencil.gif TIP: The .NET function, Clipboard.SetData(bmp), does not save the bitmap resolution, which is essential for the accurate representation of the pasted barcode image.