Display Info
13 nodes
On this page 13
Make Display Info
FunctionOne monitor: where it sits on the virtual desktop, and at what scale.
DisplayInfo -> Display Info
Name: Text
Bounds: Screen Rectangle
WorkingArea: Screen Rectangle
IsPrimary: Truth
DotsPerInch: IntegerDisplayInfo DisplayInfo(
string Name,
ScreenRectangle Bounds,
ScreenRectangle WorkingArea,
bool IsPrimary,
int DotsPerInch)Parameters
| name | type | default | description |
|---|---|---|---|
| Name | Text | — | The platform's name for the device, for a caller that wants to show a list. |
| Bounds | Screen Rectangle | — | The whole monitor, in virtual-desktop pixels. |
| WorkingArea | Screen Rectangle | — | What is left after the taskbar or dock. Equal to Bounds where the platform does not report one. |
| IsPrimary | Truth | — | The one whose top-left corner is the origin. |
| DotsPerInch | Integer | — | The monitor's effective DPI, 96 meaning unscaled. This is the number a caller needs to convert between a coordinate it computed from a screenshot and a coordinate this package will accept - see the coordinate-space section of the package README, because the answer differs per platform. |
Returns
| result | Display Info |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Deconstruct
FunctionThis node carries no documentation.
Deconstruct(Display Info: Display Info) -> (Name: Text, Bounds: Screen Rectangle, WorkingArea: Screen Rectangle, IsPrimary: Truth, DotsPerInch: Integer)
void Deconstruct(
DisplayInfo Display Info,
out string Name,
out ScreenRectangle Bounds,
out ScreenRectangle WorkingArea,
out bool IsPrimary,
out int DotsPerInch)Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — |
Returns
| Name | Text |
| Bounds | Screen Rectangle |
| WorkingArea | Screen Rectangle |
| IsPrimary | Truth |
| DotsPerInch | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Equals
FunctionThis node carries no documentation.
Overload 1 of 2
Equals(Display Info: Display Info, obj: Any) -> Truth
bool Equals(DisplayInfo Display Info, object obj)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — | |
| obj | Any | — |
Returns
| result | Truth |
Overload 2 of 2
Equals(Display Info: Display Info, other: Display Info) -> Truth
bool Equals(DisplayInfo Display Info, DisplayInfo other)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — | |
| other | Display Info | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Bounds
FunctionThe whole monitor, in virtual-desktop pixels.
Bounds(Display Info: Display Info) -> Screen Rectangle
ScreenRectangle Bounds(DisplayInfo Display Info)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — |
Returns
| result | Screen Rectangle |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Dots Per Inch
FunctionThe monitor's effective DPI, 96 meaning unscaled. This is the number a caller needs to convert
between a coordinate it computed from a screenshot and a coordinate this package will accept -
see the coordinate-space section of the package README, because the answer differs per platform.
DotsPerInch(Display Info: Display Info) -> Integer
int DotsPerInch(DisplayInfo Display Info)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Is Primary
FunctionThe one whose top-left corner is the origin.
IsPrimary(Display Info: Display Info) -> Truth
bool IsPrimary(DisplayInfo Display Info)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Name
FunctionThe platform's name for the device, for a caller that wants to show a list.
Name(Display Info: Display Info) -> Text
string Name(DisplayInfo Display Info)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Scale Factor
Function96 DPI is 1.0; a monitor at 150% reports 1.5.
ScaleFactor(Display Info: Display Info) -> Number
double ScaleFactor(DisplayInfo Display Info)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Working Area
FunctionWhat is left after the taskbar or dock. Equal to Bounds where the platform does not report one.
WorkingArea(Display Info: Display Info) -> Screen Rectangle
ScreenRectangle WorkingArea(DisplayInfo Display Info)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — |
Returns
| result | Screen Rectangle |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Get Hash Code
FunctionThis node carries no documentation.
GetHashCode(Display Info: Display Info) -> Integer
int GetHashCode(DisplayInfo Display Info)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
To String
FunctionThis node carries no documentation.
ToString(Display Info: Display Info) -> Text
string ToString(DisplayInfo Display Info)
Parameters
| name | type | default | description |
|---|---|---|---|
| Display Info | Display Info | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Op Equality
FunctionThis node carries no documentation.
op_Equality(left: Display Info, right: Display Info) -> Truth
bool op_Equality(DisplayInfo left, DisplayInfo right)
Parameters
| name | type | default | description |
|---|---|---|---|
| left | Display Info | — | |
| right | Display Info | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation
Op Inequality
FunctionThis node carries no documentation.
op_Inequality(left: Display Info, right: Display Info) -> Truth
bool op_Inequality(DisplayInfo left, DisplayInfo right)
Parameters
| name | type | default | description |
|---|---|---|---|
| left | Display Info | — | |
| right | Display Info | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Display Info
- Package
- Desktop Automation