4 corners of word screen viewporte

There is any way to get the coordinates of the 4 corners of the active viewport?

Of course the coordinates are currently zoomed.

Thanks

Hi @MatrixRatrix,

Use RhinoViewport.GetNearRect.

– Dale

Thank you.