Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Viewport Class / Viewport Constructor / Viewport Constructor(Point,Size,BackgroundSettings,Camera,ToolBar[],Legend[],displayType,Boolean,Boolean,Boolean,Boolean,Grid[],OriginSymbol,Boolean,RotateSettings,ZoomSettings,PanSettings,NavigationSettings,CoordinateSystemIcon,ViewCubeIcon,viewType)
Coordinates of the upper-left corner of the viewport relative to the upper-left corner of its container
Size of the viewport in pixels
Background settings
Camera settings
Toolbars settings
Legends array
Display mode
Labels visibility status
If true, labels are hidden automatically when behind the model
If true, the model vertices are displayed
If true and ShowVertices is also true the model vertex indices are displayed
Planar grids settings
Origin symbol settings
If true, sorts the Labels using the depth from the viewer
Rotate settings
Zoom settings
Pan settings
The coordinate system icon
The view cube icon
Initial View

In This Topic
    Viewport Constructor(Point,Size,BackgroundSettings,Camera,ToolBar[],Legend[],displayType,Boolean,Boolean,Boolean,Boolean,Grid[],OriginSymbol,Boolean,RotateSettings,ZoomSettings,PanSettings,NavigationSettings,CoordinateSystemIcon,ViewCubeIcon,viewType)
    In This Topic
    Viewport constructor.
    Syntax
    'Declaration
     
    Public Function 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 initialView As 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
    autoHideLabels
    If true, labels are hidden automatically when behind the model
    showVertices
    If true, the model vertices are displayed
    showVertexIndices
    If true and ShowVertices is also true the model vertex indices are displayed
    grids
    Planar grids 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
    Settings for the Camera.navigationType.Walk and Camera.navigationType.Fly camera navigation modes
    coordinateSystemIcon
    The coordinate system icon
    viewCubeIcon
    The view cube icon
    initialView
    Initial View
    See Also