Abstract: A line confocal microscope system, comprising an illumination system with a source of collimated light and a line forming optics arranged to provide a line shaped illumination area to be scanned over a sample, an image receiving system, and two or more objective lenses that are interchangeable in the optical path to provide different magnification, wherein the objective lenses have different aperture diameters, and the illumination system comprises a beam shape transformer arranged in between the source of collimated light and the line forming optics to selectively transform the cross-sectional shape of the collimated beam of light transmitted to the line forming optics to a predetermined shape in response to the back aperture diameter of the objective lens that is arranged in the optical path.