Return Type: Metafile
This method causes a barcode image to be created using the Graphics properties of g (including the PageUnit property which determines that absolute size information embedded in the image).
Barcode(Graphics g, bool bPixelAlign): This method is redundant now that the above methods return vector metafiles. It is included only for backward compatibility
Barcode(Graphics g, bool bPixelAlign, int Xres, Yres) is similar, except that the image is scaled to the values required by the target device reolutions Xres and Yres if these are non-zero, rather than the resolution of the Graphics g.
Barcode(Graphics g, float fScale, bool bPixelAlign, int Xres, int Yres int iUseMetaProps): This method is redundant now that the above methods return vector metafiles. It is included only for backward compatibility
Note that the barcode symbol is determined only when one of these methods is called, so the ImageHeight and ImageWidth properties are not available until one of these methods has been called.
More: