AboutSupportDeveloper GuideVersion 40.130.100.7

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;
}

Properties

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.