Generates a raster preview image for the current view.
Returns the eOk value if the preview image was successfully generated, otherwise the method returns an appropriate error code.