Epson BT-2000 Developers Guide - Page 73
setContrast
![]() |
View all Epson BT-2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 73 highlights
6.7.11. setContrast Function Set the contrast value. Format void setContrast (int); Parameter None. Return value Model int Explanation Set the contrast value. For the BT-2000, you can set -3 to +3. Usage procedure /*Start camera*/ camera = Camera.open(); /*Acquire current parameter (or default value)*/ Camera.Parameters params = camera.getParameters(); /*Acquire the current contrast value.*/ int contrast = params.getContrast(); contrast++; /*When the contrast value enters an available setting range, it is set*/ if (contrast = params.getSupportedContrastMin() ) { params.setContrast(contrast); camera.setParameters(params); } Important points After setting the contrast value in setContrast, be sure to perform setParameters. Changed content is not reflected until setParameters is executed. MOVERIO Pro Developer's Guide (Rev.1.0) 69
![](/manual_guide/products/epson-bt2000-developers-guide-3a30282/73.png)