Creates a relative view.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateRelativeView( _
ByVal ModelName As String, _
ByVal XPos As Double, _
ByVal YPos As Double, _
ByVal ViewDirFront As Integer, _
ByVal ViewDirRight As Integer _
) As View |
Visual Basic (Usage) | |
---|
Dim instance As IDrawingDoc
Dim ModelName As String
Dim XPos As Double
Dim YPos As Double
Dim ViewDirFront As Integer
Dim ViewDirRight As Integer
Dim value As View
value = instance.CreateRelativeView(ModelName, XPos, YPos, ViewDirFront, ViewDirRight)
|
Parameters
- ModelName
- Path and filename of the model for which to create a relative view
- XPos
- x coordinate where to create the relative view
- YPos
- y coordinate where to create a relative view
- ViewDirFront
- Orientation as defined by swRelativeViewCreationDirection_e
- ViewDirRight
- Orientation as defined by swRelativeViewCreationDirection_e
Return Value
Pointer to
IView object
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0