The Picture property returns an OLE picture which is generally used as the source of a picture in a Visual Basic PictureBox.
In this case the physical size of the picture must be obtained from the image creator by retrieving the PictureWidth and PictureHeight properties once the image has been created. These values are reported in Windows HIMETRIC units, and so require scaling to the units used by the form containing the PictureBox – which in Crystal Reports is TWIPS (twentieths of a point per inch!).
The Picture property may be placed in a VB PictureBox using
Set PictureBox1.FormattedPicture = M_barcode.Picture
PictureBox1.Height = M_barcode.PictureHeight / twips
PictureBox1.Width = M_barcode.PictureWidth / twips
Where twips is the scaling factor between HIMETRIC and TWIPS units.
The Picture property is used in this way to generate barcode images in applications created using older versions of the Report Designer Component for VB6. [For the RDC of Crystal Reports 11 the use of the Pic() method is to be preferred]
More: