Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Viewport Class
Properties Methods Events


In This Topic
    Viewport Class Members
    In This Topic

    The following tables list the members exposed by Viewport.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets the auto hide labels flag. If true labels are hidden automatically when behind the model.  
    Public Property Gets or sets the background settings.  
    Public Property Gets or sets the Camera settings.  
    Public Property Gets the current center of rotation.  
    Public Property Gets or sets the coordinate system icon settings.  
    Public Property Gets or sets the active display mode.  
    Public Property Gets the first planar grids settings.  
    Public Property Gets or sets the planar grids settings.  
    Public Property Gets or sets the active initial view.  
    Public Property For internal use only. Gets the instance id for the logging.  
    Public PropertyMaster label collection.  
    Public Property Gets or sets the legend objects.  
    Public Property The coordinates of the upper-left corner of the viewport relative to the upper-left corner of its container.  
    Public PropertyGets or sets the Navigation settings for the Camera.navigationType.Walk and Camera.navigationType.Fly camera navigation modes.  
    Public Property Gets or sets the origin symbol settings.  
    Public Property Gets or sets the Pan settings.  
    Public Property Gets or sets the Rotate settings.  
    Public Property Gets or sets the manager of the saved views.  
    Public Property Labels visibility status.  
    Public Property If true, the model vertices are displayed.  
    Public Property If true, the model vertices are displayed.  
    Public Property The size of the viewport in pixels.  
    Public Property Sorts the Labels using the depth from the viewer.  
    Public Property Gets the first ToolBar settings in the active viewport.  
    Public Property Gets or sets the ToolBars settings.  
    Public PropertyGets or sets the vertex visualization size (meaningful only if ShowVertices is true).  
    Public Property Gets or sets the view cube icon settings.  
    Public Property Gets or sets the Zoom settings.  
    Top
    Public Methods
     NameDescription
    Public Method Adjusts camera near and far planes based on model extents and on origin symbol, grid and shadow visibility status.  
    Public Method  
    Public MethodOverloaded.  Executes a 3D scene visual testing.  
    Public Method Compiles the background, used by the designer.  
    Public Method Compiles 3D user interface elements like the origin symbol, the bitmap background, the FEM restraint and load symbols, etc.  
    Public Method  
    Public MethodOverloaded.  Copies a raster image of the current viewport scene on the clipboard.  
    Public Method Create a bitmap for the image comparison.  
    Public MethodOverridden.   
    Public Method Gets the size to print the viewport so that world units in the model correspond to world units on paper.  
    Public Method Gets the bounds rectangle in screen coordinates.  
    Public Method Gets the planes of the viewport camera frustum.  
    Public MethodGets the devDept.Geometry.Quaternion that describes the orientation of the given view.  
    Public Method Gets a bitmap of the user inteferace element.  
    Public Method Gets the viewport bounds.  
    Public Method  
    Public Method Tells if the Camera is performing an animation.  
    Public Method Orients the Camera between the two specified points.  
    Public MethodOverloaded.  Pans the view from one screen point to the other.  
    Public MethodOverloaded.  Maps world coordinates to screen coordinates.  
    Public MethodOverloaded. Returns an image of the current ViewportLayout viewport scene. The image can be scaled even to a poster size one.  
    Public Method Restores the previously saved view.  
    Public MethodOverloaded.  Rotates the view of the specified amount.  
    Public Method Stores the current view.  
    Public Method Scales the element for high DPI settings.  
    Public MethodOverloaded.  Maps screen coordinates to world coordinates.  
    Public MethodOverloaded.  Converts Screen coordinates (0 on top of control) to Viewport coordinates (0 on top of viewport)  
    Public MethodOverloaded.  Maps screen coordinates to world coordinates.  
    Public MethodOverloaded. Sets the view direction of the camera to the specified direction.  
    Public Method Stops the camera animation.  
    Public Method  
    Public MethodOverloaded.  Maps viewport coordinates to world coordinates.  
    Public Method  
    Public Method Updates the viewport in both desing-time and run-time mode. If necessary adjust near and far planes to accomodate origin symbols of various sizes.  
    Public Method Converts Viewport coordinates (0 on top of viewport) to Camera Screen coordinates (0 on bottom of control)  
    Public Method Converts Viewport coordinates (0 on top of viewport) to Screen coordinates (0 on top of control)  
    Public MethodOverloaded.  Maps world coordinates to screen coordinates.  
    Public MethodOverloaded. Saves a raster image of the current viewport scene on disk.  
    Public MethodOverloaded.  Zooms the view of the specified amount.  
    Public MethodOverloaded.  Fits the entire model in the viewport control's client area.  
    Public MethodOverloaded.  Fits the selected entities, including the ones inside BlockReferences.  
    Public Method Zooms to the specified window.  
    Top
    Protected Methods
     NameDescription
    Protected Internal MethodDraws the viewport background.  
    Protected Method  
    Protected Internal Method Draws the labels.  
    Protected Internal Method Draws ovelaying UI elements.  
    Protected Internal MethodOverloaded. Draws a text on the ViewportLayout's client area.  
    Protected Internal Method  
    Protected Method  
    Top
    Public Events
     NameDescription
    Public Event Occurs when label selection has changed.  
    Public Event Occurs when graphics is updated.  
    Public EventOccurs when a view is restored from the Viewport.SavedViewsManager.  
    Public EventOccurs when a view is saved in the Viewport.SavedViewsManager.  
    Top
    See Also