Show / Hide Table of Contents

Struct Screen

Represents a screen as part of a remote framebuffer.

Implements
IEquatable<Screen>
Namespace: MarcusW.VncClient
Assembly: MarcusW.VncClient.dll
Syntax
public struct Screen : IEquatable<Screen>

Constructors

| Improve this Doc View Source

Screen(UInt32, Rectangle, UInt32)

Initializes a new instance of the Screen structure.

Declaration
public Screen(uint id, Rectangle rectangle, uint flags)
Parameters
Type Name Description
System.UInt32 id

The screen id.

Rectangle rectangle
System.UInt32 flags

The flags.

Properties

| Improve this Doc View Source

Flags

Gets the flags.

Declaration
public uint Flags { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

Id

Gets the screen id.

Declaration
public uint Id { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

Rectangle

Gets the rectangle of the screen on the framebuffer.

Declaration
public Rectangle Rectangle { get; }
Property Value
Type Description
Rectangle

Methods

| Improve this Doc View Source

Equals(Screen)

Declaration
public bool Equals(Screen other)
Parameters
Type Name Description
Screen other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Nullable<Object>)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
System.Nullable<System.Object> obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
| Improve this Doc View Source

ToString()

Returns the string representation of the screen.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation of the screen.

Operators

| Improve this Doc View Source

Equality(Screen, Screen)

Checks for equality between two Screens.

Declaration
public static bool operator ==(Screen left, Screen right)
Parameters
Type Name Description
Screen left

The first screen.

Screen right

The second screen.

Returns
Type Description
System.Boolean

True if the screens are equal, otherwise false.

| Improve this Doc View Source

Inequality(Screen, Screen)

Checks for inequality between two Screens.

Declaration
public static bool operator !=(Screen left, Screen right)
Parameters
Type Name Description
Screen left

The first screen.

Screen right

The second screen.

Returns
Type Description
System.Boolean

True if the screens are unequal, otherwise false.

Implements

IEquatable<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX