1. A portable terminal device comprising: an imaging unit that images an object; a display unit that displays an image produced by said imaging unit; a code recognizing unit that recognizes a code of an imaged object; an illuminating unit that illuminates an imaged object; and an illumination setting unit capable of turning on/off said illuminating unit before code recognition is started.