Click or drag to resize
SoWinComponentIsVisible Method

Returns true if this component is mapped onto the screen.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public bool IsVisible()

Return Value

Type: Boolean
Remarks

For a component to be visible, its window handle and the shell containing this window handle must be mapped (which is false when the component is iconified).

Subclasses should call this routine before redrawing anything and in any sensor trigger methods. Calling this will check the current visibility (which is really cheap) and invoke the visibility changed callbacks if the state changes (see addVisibilityChangeCallback()).

See Also