Returns the number of the layout (specified in the Manage Layouts dialog box) currently displayed.
If there are multiple windows open in the current file, each window can have its own
layout number value, but results are returned for only the foreground window.