Forums › TWAIN Classic › How can I set the brigthness? › Reply To: How can I set the brigthness?
March 1, 2007 at 2:59 pm
#23520
Here is how I set the brightness :
TwCapability bright = new TwCapability(TwCap.ICAP_BRIGHTNESS, (short)brightness, TwType.Fix32);
rc = DScap(appid, srcds, TwDG.Control, TwDAT.Capability, TwMSG.Set, bright);
if (rc != TwRC.Success)
{
CloseSrc();
return;
}
where ICAP_BRIGHTNESS = 0x1101.
Let me know if it works for you.