PixAttrib

Declaration: TMetaData.PixAttrib [AttribLayer, PosX, PosY: integer]: integer;
The array property PixAttrib provides access to the pixel attributes of individual pixels. The parameter AttribLayer control which layer of attributes to access (valid range: 1..4). The parameters PosX and PosY specify the indices of the corresponding pixel (valid ranges: 1...SizeX, and 1...SizeY, respectively). The attribute can assume any value from 0 to 127. If you try to assign a value outside this range, the call of PixAttrib is ignored.

Hint: In order to directly access the metadata of the currently loaded dataset you can use the pre-declared global variable MData.