Question regarding rs.ViewDisplayMode

Hi!

When I run rs.ViewDisplayMode, it automatically changes view settings in rhino. but is it possible to just get the image without actually changing viewport in rhino?
For example, when I run

view = rs.ViewDisplayMode(‘Perspective’, “Rendered”)

I don’t want to make any change in rhino viewport but want to get changed output to save the view as an image in my local drive.