CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiViewManager

    A view manager owns a shared set of visual objects and the viewports that render them: every viewport of the manager draws the same scene. CAMCore main window is one such manager; a plugin can create its own (via ICamApiVisualisationFactory) to draw in its own window(s).

    Namespace: CAMAPI.ViewPort
    Assembly: CAMAPI.ViewPort.dll
    Syntax
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("38421ACD-54EA-4306-97B4-A6BD0436AE43")]
    public interface ICamApiViewManager

    Properties

    BackgroundColor

    Solid background color of every viewport rendering this manager's scene, as a 32-bit $00BBGGRR value (Delphi TColor). Defaults to the host theme window color. Setting it repaints immediately.

    Declaration
    int BackgroundColor { get; set; }
    Property Value
    Type Description
    int

    ViewPortCount

    Number of viewports rendering this manager's scene.

    Declaration
    int ViewPortCount { get; }
    Property Value
    Type Description
    int

    Methods

    GetViewPort(int)

    Declaration
    ICamApiViewPort GetViewPort(int Index)
    Parameters
    Type Name Description
    int Index
    Returns
    Type Description
    ICamApiViewPort
    In this article