UserInterfaceSymbolBase Class

Base class for CoordinateSystemIcon, OriginSymbol and ViewCubeIcon.
Public MustInherit Class UserInterfaceSymbolBase 
Inherits UserInterfaceBase 
Implements ICloneable
This language is not supported or no code example is available.
public abstract class UserInterfaceSymbolBase : UserInterfaceBase
ICloneable
This language is not supported or no code example is available.
Name Description
Protected property CustomViewport Tells if the UI element is drawn with a custom viewport. (inherited from UserInterfaceBase).
Public property Disposed (inherited from DisposableBase).
Public property Entities Gets or sets the mesh entities used to draw the CoordinateSystemIcon.
Protected property LocationAtOrigin When doing a render to Bitmap of the item, must not change the viewport origin. (inherited from UserInterfaceBase).
Internal protected (Protected Friend) property ParentViewport (inherited from UserInterfaceBase).
Public property Size Gets or sets the size in pixels.
Public property Transformation Gets or sets the transformation applied to the object.
Public property Visible Gets or sets the visibility status.
Top
Methods
 
Name Description
Internal protected (Protected Friend) method CheckAndFixDefaultLayerName(Workspace) Use this method to check and fix the layer name for internal Meshes when the ui element is assigned to the Viewport.
Public method Clone()
Public method Dispose()
Public method Draw(RenderParams)
Protected method DrawForBitmap(object)
Internal protected (Protected Friend) method DrawInternal(DrawSceneParams)
Internal protected (Protected Friend) method DrawLabels(DrawSceneParams)
Public method Equals(Object) (inherited from Object).
Protected method Finalize (inherited from Object).
Public method GetBounds(Viewport) Gets the bounds rectangle in screen coordinates. (inherited from UserInterfaceBase).
Internal protected (Protected Friend) method GetDefaultLayerName(Workspace) Use this method to get the correct layer name for internal Meshes. (inherited from UserInterfaceBase).
Public method GetHashCode (inherited from Object).
Protected method GetModelViewMatrix(Camera, double) Gets the modelview matrix to draw the user interface symbol.
Protected method GetScalingLevel() Gets the display's scale factor.
Protected method GetScalingLevelRatio() Gets scaling level ratio used to get the correct font size.
Public method GetThumbnail(Viewport, Size, Color) Gets a thumbnail bitmap of the user interface element. (inherited from UserInterfaceBase).
Public method GetType (inherited from Object).
Protected method MemberwiseClone (inherited from Object).
Internal protected (Protected Friend) method OnMouseDown(MouseEventArgs, Viewport) Method called when the mouse is pressed on a UI element.
Internal protected (Protected Friend) method OnMouseDown(MouseButtonEventArgs, Viewport) Method called when the mouse is pressed on a UI element.
Internal protected (Protected Friend) method OnMouseUp(MouseEventArgs, Viewport) Method called when the mouse is released on a UI element.
Internal protected (Protected Friend) method OnMouseUp(MouseButtonEventArgs, Viewport) Method called when the mouse is released on a UI element.
Protected method PostDrawOnDepthBuffer(RenderContextBase) Restores previous states at the end of the draw on depth buffer.
Protected method PreDrawOnDepthBuffer(RenderContextBase) Prepares to draw on the depth buffer.
Public method ScaleForDPI() Scales the element for high DPI settings.
Protected method SetupLights(Viewport, RenderContextBase, float)
Public method ToString (inherited from Object).
Public method Update(IUserInterfaceElement) (inherited from UserInterfaceBase).
Top
Fields
 
Name Description
Protected field DefaultSize
Internal protected (Protected Friend) field Dragging
Internal protected (Protected Friend) field PickedEntity The picked part.
Top

.NET Framework

Supported in: 4.7.2

In this article

Definition