Viewport(Point, Size, BackgroundSettings, Camera, ToolBar(), Legend(), displayType, Boolean, Boolean, Boolean, Boolean, Grid(), OriginSymbol, Boolean, RotateSettings, ZoomSettings, PanSettings, NavigationSettings, CoordinateSystemIcon, ViewCubeIcon, SavedViewsManager) Constructor
Public Sub New( _
ByVal location As Point, _
ByVal size As Size, _
ByVal background As BackgroundSettings, _
ByVal camera As Camera, _
ByVal toolBars As ToolBar(), _
ByVal legends As Legend(), _
ByVal displayMode As displayType, _
ByVal showLabels As Boolean, _
ByVal autoHideLabels As Boolean, _
ByVal showVertices As Boolean, _
ByVal showVertexIndices As Boolean, _
ByVal grids As Grid(), _
ByVal originSymbol As OriginSymbol, _
ByVal sortLabels As Boolean, _
ByVal rotate As RotateSettings, _
ByVal zoom As ZoomSettings, _
ByVal pan As PanSettings, _
ByVal navigation As NavigationSettings, _
ByVal coordinateSystemIcon As CoordinateSystemIcon, _
ByVal viewCubeIcon As ViewCubeIcon, _
ByVal savedViews As SavedViewsManager _
)
This language is not supported or no code example is available.
public Viewport(
Point location,
Size size,
BackgroundSettings background,
Camera camera,
ToolBar[] toolBars,
Legend[] legends,
displayType displayMode,
bool showLabels,
bool autoHideLabels,
bool showVertices,
bool showVertexIndices,
Grid[] grids,
OriginSymbol originSymbol,
bool sortLabels,
RotateSettings rotate,
ZoomSettings zoom,
PanSettings pan,
NavigationSettings navigation,
CoordinateSystemIcon coordinateSystemIcon,
ViewCubeIcon viewCubeIcon,
SavedViewsManager savedViews
)
This language is not supported or no code example is available.
Parameters
- location
- Point
Coordinates of the upper-left corner of the viewport relative to the upper-left corner of its container
- size
- Size
Size of the viewport in pixels
- background
- BackgroundSettings
Background settings
- camera
- Camera
Camera settings
- toolBars
- ToolBar[]
Toolbars settings
- legends
- Legend[]
Legends array
- displayMode
- displayType
Display mode
- showLabels
- bool
Labels visibility status
- autoHideLabels
- bool
If true, labels are hidden automatically when behind the model
- showVertices
- bool
If true, the model vertices are displayed
- showVertexIndices
- bool
If true and ShowVertices is also true the model vertex indices are displayed
- grids
- Grid[]
Planar grids settings
- originSymbol
- OriginSymbol
Origin symbol settings
- sortLabels
- bool
If true, sorts the Labels using the depth from the viewer
- rotate
- RotateSettings
Rotate settings
- zoom
- ZoomSettings
Zoom settings
- pan
- PanSettings
Pan settings
- navigation
- NavigationSettings
Settings for the navigationType.Walk and navigationType.Fly camera navigation modes
- coordinateSystemIcon
- CoordinateSystemIcon
The coordinate system icon
- viewCubeIcon
- ViewCubeIcon
The view cube icon
- savedViews
- SavedViewsManager
The saved views manager