GetBadgeImage

Prototype: HBITMAP GetBadgeImage(RecordData *data)

Description: This will create an HBITMAP handle to a BMP image containing the currently displayed badge. Either the front or back of the badge can be obtained.

ImageType determines how the file is transmitted via the XML link. Unless the XML data is being used directly or the http link is slow, the JPG form should not be used as poorer image quality may result.

BadgeBuilder® will be responsible for freeing the image and this will happen when another image of any type is requested.  The client application should copy the bitmap if it intends to keep it.

Input Data Format:
ShowBack = <yes | 1 | true | on> any other value or missing equals false.
ImageType = <jpg | bmp>  bmp is the default

Returned Data: Windows®  handle to a bitmap