LevelLUTLength example for Access 2.0

This example writes out the number of entries in the LUT.

    Me![LEAD1].Object.Grayscale 12    'Grayscale image to 12-bit

    MsgBox Str(Me![LEAD1].Object.LevelLUTLength)