Can I set di.Low=0 and di.High=25 so that if input voltage of 0V corresponds to 0 and 10V corresponds to 25 ?
Yes, if you set the parameter di.Lo to 0, it will correspond to 0 V and if you set the parameter di.Hi to 25, it will correspond to 10 V.