Share via


GetLCDMetrics Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the size, color-depth, and orientation of the LCD display device.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Overridable Sub GetLCDMetrics ( _
    <OutAttribute> ByRef width As Integer, _
    <OutAttribute> ByRef height As Integer, _
    <OutAttribute> ByRef bitsPerPixel As Integer, _
    <OutAttribute> ByRef orientationDeg As Integer _
)
public virtual void GetLCDMetrics(
    out int width,
    out int height,
    out int bitsPerPixel,
    out int orientationDeg
)
public:
virtual void GetLCDMetrics(
    [OutAttribute] int% width, 
    [OutAttribute] int% height, 
    [OutAttribute] int% bitsPerPixel, 
    [OutAttribute] int% orientationDeg
)
abstract GetLCDMetrics : 
        width:int byref * 
        height:int byref * 
        bitsPerPixel:int byref * 
        orientationDeg:int byref -> unit 
override GetLCDMetrics : 
        width:int byref * 
        height:int byref * 
        bitsPerPixel:int byref * 
        orientationDeg:int byref -> unit 
public function GetLCDMetrics(
    width : int, 
    height : int, 
    bitsPerPixel : int, 
    orientationDeg : int
)

Parameters

  • orientationDeg
    Type: System. . :: . .Int32%
    The orientation of this LCD display, in degrees of rotation.

.NET Framework Security

See Also

Reference

HardwareProvider Class

Microsoft.SPOT.Hardware Namespace