This explains how to delete objects outside the Illustrator artboard. Also, the export methods of your vector drawing are shown. You can export your file as a raster image or vector file using these methods.
How to remove drawings outside of an artboard in illustrator?
