Properties are organized hierarchically Each property has the method Set that requires a different argument depending on the property type (i.e.: int, boolean, String, etc...):
For the configuration to be actually applied, you must call the ScannerProperties' Store method: