Viewport Constructor(Point,Size,BackgroundSettings,Camera,ToolBar[],Legend[],displayType,Boolean,Boolean,Boolean,Boolean,Grid,OriginSymbol,Boolean,RotateSettings,ZoomSettings,PanSettings,NavigationSettings,viewType)
In This Topic
Viewport constructor.
Syntax
'Declaration
Public Function New( _
ByVal As Point, _
ByVal As Size, _
ByVal As BackgroundSettings, _
ByVal As Camera, _
ByVal () As ToolBar, _
ByVal () As Legend, _
ByVal As displayType, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Grid, _
ByVal As OriginSymbol, _
ByVal As Boolean, _
ByVal As RotateSettings, _
ByVal As ZoomSettings, _
ByVal As PanSettings, _
ByVal As NavigationSettings, _
ByVal As viewType _
)
public Viewport(
Point ,
Size ,
BackgroundSettings ,
Camera ,
ToolBar[] ,
Legend[] ,
displayType ,
bool ,
bool ,
bool ,
bool ,
Grid ,
OriginSymbol ,
bool ,
RotateSettings ,
ZoomSettings ,
PanSettings ,
NavigationSettings ,
viewType
)
Parameters
- location
- Coordinates of the upper-left corner of the viewport relative to the upper-left corner of its container
- size
- Size of the viewport in pixels
- background
- Background settings
- camera
- Camera settings
- toolBars
- Toolbars settings
- legends
- Legends array
- displayMode
- Display mode
- showLabels
- Labels visibility status
- showVertices
- If true, the model vertices are displayed
- showVertexIndices
- If true and ShowVertices is also true the model vertex indices are displayed
- autoHideLabels
- If true, labels are hidden automatically when behind the model
- grid
- Planar grid settings
- originSymbol
- Origin symbol settings
- sortLabels
- If true, sorts the Labels using the depth from the viewer
- rotate
- Rotate settings
- zoom
- Zoom settings
- pan
- Pan settings
- navigation
- Navigation settings
- initialView
- Initial View
See Also