Table of Contents

Struct InfiniMonitor

Namespace
InfiniFrame
Assembly
InfiniFrame.Shared.dll

Represents information about a monitor.

public readonly record struct InfiniMonitor : IEquatable<InfiniMonitor>
Implements
Inherited Members

Constructors

InfiniMonitor(NativeRect, NativeRect, double)

Initializes a new instance of the InfiniMonitor struct using native structures.

public InfiniMonitor(NativeRect monitor, NativeRect work, double scale)

Parameters

monitor NativeRect

The area of monitor as NativeRect

work NativeRect

The working area as NativeRect

scale double

The scale factor of the monitor.

InfiniMonitor(Rectangle, Rectangle, double)

Represents information about a monitor.

public InfiniMonitor(Rectangle MonitorArea, Rectangle WorkArea, double Scale)

Parameters

MonitorArea Rectangle

The full area of the monitor

WorkArea Rectangle

The working area of the monitor excluding taskbars, docked windows, and docked tool bars.

Scale double

The scale factor of the monitor. The standard value is 1.0.

Properties

MonitorArea

The full area of the monitor

public Rectangle MonitorArea { get; init; }

Property Value

Rectangle

Scale

The scale factor of the monitor. The standard value is 1.0.

public double Scale { get; init; }

Property Value

double

WorkArea

The working area of the monitor excluding taskbars, docked windows, and docked tool bars.

public Rectangle WorkArea { get; init; }

Property Value

Rectangle