1. A method of investigating a solid sample, comprising the steps of: positioning the sample on a sample support device, positioning a hyperspectral camera device, so that a line-shaped surface region of the sample is covered by a field of view of the hyperspectral camera device, illuminating the sample on the sample support device, moving the hyperspectral camera device and the sample support device relative to each other, wherein the field of view of the hyperspectral camera device is moved along a scanning direction over the surface of the sample, and collecting a hyperspectral image of the sample during the moving step, wherein the hyperspectral image is composed of multiple hyperspectral line images.