Retrieve named view in macro

I'm fooling around with a macro to save a series of views as jpg's and I'd like to include views saved within individual files. Is there a straightforward way to access the names of saved views?

SolidworksApi/macros