Added ViewDisplayMode functions based on request from
http://discourse.mcneel.com/t/wish-rs-viewdisplaymodes-like-in-vbscript