Sets the view range in current view.
eOk if the operation completed successfully, or an appropriate error code otherwise.