ProScript .NET Documentation
ProScript .NET Documentation
ProScript
Display Class
Display Methods
AdjustAspect Method
GetCaptionLength Method
GetColorDepth Method
GetHeight Method
GetRegionCount Method
GetTextHeight Method
GetTextWidth Method
GetWidth Method
ToString Method

# Display Methods

The Display type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AdjustAspect | This method adjusts an already range corrected AdjustedCoordinate so that the aspect ratio matches that of the aspect ratio reported by the device.
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetCaptionLength | Gets the maximum length of a button caption.
| GetColorDepth | Gets the color depth of the screen (if equipped) in bits.
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetHeight | Gets Either the height in pixels of the screen (if equipped) or an abstract number representing the vertical component of the aspect ratio of the device digitizer (if no screen).
| GetRegionCount | Gets the number of supported regions in this device.
| GetTextHeight | Gets the height of a single character in pixels.
| GetTextWidth | Gets the width of a single character in pixels.
| GetType | Gets the type of the current instance. (Inherited from Object.)
| GetWidth | Gets either the width in pixels of the screen (if equipped) or an abstract number representing the horizontal component of the aspect ratio of the device digitizer (if no screen).
| ToString | Converts this object into a human readable string. (Overrides Object ToString .)

Top
See Also

#### Reference

Display Class
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.