'Declaration <ExtensionAttribute()> Public Overloads Shared Function GetBarcodeAsBitmapSource( _
ByVal barcodeWriterBarcode writer.As BarcodeWriter, _
ByVal widthThe image width, in units.As Double, _
ByVal heightThe image height, in units.As Double, _
ByVal unitOfMeasureThe unit of measure.As UnitOfMeasure _
) As System.Windows.Media.Imaging.BitmapSource
[Extension()] public static System.Windows.Media.Imaging.BitmapSource GetBarcodeAsBitmapSource(
BarcodeWriter barcodeWriter,
double width,
double height,
UnitOfMeasure unitOfMeasure
)
[Extension()] public: static System.Windows.Media.Imaging.BitmapSource* GetBarcodeAsBitmapSource(
BarcodeWriter* barcodeWriter,
double width,
double height,
UnitOfMeasure unitOfMeasure
)
[Extension()] public:
static System.Windows.Media.Imaging.BitmapSource^ GetBarcodeAsBitmapSource(
BarcodeWriter^ barcodeWriter,
double width,
double height,
UnitOfMeasure unitOfMeasure
)
Parameters
- barcodeWriter
- Barcode writer.
- width
- The image width, in units.
- height
- The image height, in units.
- unitOfMeasure
- The unit of measure.
Return Value
A barcode as an image (Bitmap object).