1. An X-ray inspection device comprising: an X-ray irradiation device for generating an X-ray and irradiating an object to be inspected with the X-ray; an X-ray detection device for detecting the X-ray radiated from said X-ray irradiation device that passes through said object to be inspected; a swinging device for holding said object to be inspected on an X-ray path from said X-ray irradiation device to said X-ray detection device and driving said object to be inspected at an arbitrary angle in an arbitrary direction with respect to an X-ray irradiation axis on said X-ray path; and a control device for controlling driving of said swinging device and said X-ray irradiation device, receiving an input of an X-ray image data from said X-ray detection device and displaying said X-ray image data.