AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface MonitorInfoChangedEvent

    Generated on changes of a monitor's size/location.

    A monitor's size changes when the taskbar is resized or relocated. The available space of a monitor defines a rectangle that is not occupied by the taskbar

    interface MonitorInfoChangedEvent {
        deviceScaleFactor: number;
        dpi: Point;
        nonPrimaryMonitors: MonitorDetails[];
        primaryMonitor: MonitorDetails;
        reason: string;
        taskbar: TaskBar;
        topic: "system";
        type: "monitor-info-changed";
        virtualScreen: DipRect;
    }
    Index
    deviceScaleFactor: number

    The device scale factor.

    dpi: Point
    nonPrimaryMonitors: MonitorDetails[]
    primaryMonitor: MonitorDetails
    reason: string

    Always "api-query".

    taskbar: TaskBar
    topic: "system"

    The "kebab-case" classname of the emitter that raised the event.

    OpenFin.Frame is represented as iframe.

    type: "monitor-info-changed"

    The type of event that was raised. Equal to the typename of the event payload in "kebab case".

    Guaranteed to be unique within each topic, but can be repeated between topics (e.g. WebContentsEvents.CrashedEvent and ApplicationEvents.CrashedEvent).

    virtualScreen: DipRect

    The virtual display screen coordinates.