Drawing view flip

Hi,

Considering page with drawing like a sheet of paper, i want if model "enter" in sheet, automatically flip!

From this:

To this:

IT'S POSSIBLE?

THANKS

SolidworksApi macros