A visualization of an X-ray region during the production of an X-ray recording of an object is produced. In order to reduce radiation exposure for a physician and/or the patient during X-ray recordings, a proposal is made to record a video image of a region, which is captured by a beam from the X-ray source, of the object, to display the video image and to represent at least a portion of the beam in the displayed video image.