Verifies that a view is a page layout view.
Rhino.IsLayout (strLayout)
strLayout |
Required. String. The title or identifier of an existing page layout view. |
True |
If strLayout is a page layout view. |
False |
If strLayout is a standard, model view. |
Null |
On error. |
Dim strView, blnLayout
strView = Rhino.CurrentView()
if Rhino.IsLayout(strView) Then
If blnLayout = True Then
Rhino.Print "The current view is a page layout view."
ElseIf blnLayout = False Then
Rhino.Print "The current view is standard, model view."
End If