AboutSupportDeveloper GuideVersion 38.126.83.75

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

Remarks

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.

Remarks

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".

Remarks

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.