The CADViewer sample demonstrates this functionality. See Samples.
The following CADRaster sample illustrates how you can create a raster page from a CAD page:
If you simply wish to save your CAD file as an image the following sample shows how this can be done: