IntelliCAD 11.1 Object Library | |
Display Method | |
See Also |
- Status
Boolean value:
TRUE = Display the paperspace viewport.
FALSE = Hide the paperspace viewport.
PViewport Object : Display Method |
Description
Display the viewport, or hide it.
Syntax
Visual Basic |
---|
Public Sub Display( _ ByVal Status As Boolean _ ) |
Parameters
- Status
Boolean value:
TRUE = Display the paperspace viewport.
FALSE = Hide the paperspace viewport.
Example
Private Sub DisplayMethodExample()
' This example creates a paperspace viewport and makes it active.
Dim newPViewport As IntelliCAD.PViewport
Dim cenPt As Point
Set cenPt = Library.CreatePoint(5, 5, 0)
' Create a paperspace Viewport object
ThisDocument.ActiveSpace = vicPaperSpace
Set newPViewport = ThisDocument.PaperSpace.AddPViewport(cenPt, 50, 60)
newPViewport.Display True
End Sub