ISISGetTagChoiceCount example for C++ Builder
int lCount;
int lVal;
int x;
LEADISIS1->ISISLoadDriver ( ) ;
//try a long tag
LEADISIS1->ISISGetTagChoiceCount (TAG_IMAGEWIDTH, &lCount ) ;
ShowMessage ( "Scanner has " + IntToStr(lCount) + " choices" ) ;
for (x= 0; x< lCount; x ++ )
{
LEADISIS1->ISISGetTagChoice ( TAG_IMAGEWIDTH, x, &lVal ) ;
ListBox1->Items->Add ( "Choice: " + IntToStr(x) + " Value: " + IntToStr(lVal)) ;
}
//try a short tag
LEADISIS1->ISISGetTagChoiceCount (TAG_BRIGHTNESS, &lCount);
ShowMessage ( "Scanner has " + IntToStr(lCount) + " choices");
for (x= 0; x < lCount; x ++ )
{
LEADISIS1->ISISGetTagChoice (TAG_BRIGHTNESS, x, &lVal ) ;
ListBox2->Items->Add ( "Choice: " + IntToStr(x) + " Value: " + IntToStr(lVal)) ;
}
LEADISIS1->ISISUnloadDriver ( ) ;