About:

 
 


Simple object to store and pass information about a single display mode

 
     

 

Download:

 
 


Download library Version 1.1

 
     

 

Properties:

 
 

Width

Access:
Get / Let

Description:
Horizontal resolution of the display mode


 
 

Height

Access:
Get / Let

Description:
Vertical resolution of the display mode


 
 

Depth

Access:
Get / Let

Description:
Depth of the display mode


 
 

Frequency

Access:
Get / Let

Description:
Refresh rate of the display mode


 
 

DisplayOrientation

Access:
Get / Let

Description:
enDisplayOrientation enum specifying display orientation


 
 

DisplayFixedOutput

Access:
Get / Let

Description:
enDisplayFixedOutput enum specifying fixed output display mode

 
     

 

Methods:

 
 

Create()

Description:
Object constructor function

Parameters:

Name

Description

inWidth

Desired width

inHeight

Desired height

inDepth

Desired depth

inFrequency

Desired refresh rate

[inDisplayOrientation]

Desired display orientation

[inDisplayFixedOutput]

Desired fixed output display mode


 
 

IsValid()

Description:
Provides simple validation on the object's properties
Note; if this returns True it simply means the object's values are potentially valid, not that the display mode is compatible with the current hardware - See the SetDisplayMode() method of the Monitor object for that.

Return:
Returns True if the properties stored within the class look valid (>0), False if not.


 
 

SameMode()

Description:
Checks to see if the given display mode is the same as the one the class currently stores.

Parameters:

Name

Description

inMode

Display mode object to check against


Return:
Returns True if the two objects have equal properties, False if not.


 
 

ToString()

Description:
Creates a simple string representation of the display mode object's contents

Return:
A String value containing a text version of the display mode's properties in the format "Width * Height * Depth (Freq. Htz)", i.e: "1600 * 1200 * 32 (85 Htz)"

 
     

 

Enumerators:

 
 

enDisplayOrientation

Description:
Used to specify display orientation.

Variables:

Name

Description

doDefault

Device default

do90

Rotated 90° clockwise

do180

Rotated 180°

do270

Rotated 270° clockwise (90° anti-clockwise)


 
 

enDisplayFixedOutput

Description:
Used to specify how fixed output devices display lower resolution images.

Variables:

Name

Description

dfoDefault

Device defaut

dfoStretch

Low-resolution image is centered in the larger screen space

dfoCenter

Low-resolution image is stretched to fill the larger screen space

 
     

Back to multi-monitor library