An ophthalmic device and method according to the invention foresee actively correcting the possible movement of the eye of the patient with respect to the correct positioning during the examination by making an illumination light beam, that passes through a cross-section of the anterior chamber of the eye so as to capture an image, on the corneal vertex.