GetBinaryImage(ByRef XSize As Integer, ByRef YSize As Integer, ByRef Offset As Integer, ByRef BytesPerLine As Integer) As String

Field object

Returns the field image bitmap. A bitmap is represented by YSize number of lines, each containing BytesPerLine number of bytes. The total size of the returned image is the YSize * BytesPerLine bytes. XSize and YSize return the size of the bitmap in pixels. Each image line is always an even number of bytes, where the actual image starts Offset pixels into the first byte.

Below is an overview of how an image is represented.

image\IMG00002.gif

Note

The method can be used in the Interpret and Verify modules. Even though this method can be called by the Transfer module, it does not return anything and is, therefore, of no use there.

SetBinaryImage

The Field object