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
- width
Type: System. . :: . .Int32%
The width of this LCD display, in pixels.
- height
Type: System. . :: . .Int32%
The height of this LCD display, in pixels.
- bitsPerPixel
Type: System. . :: . .Int32%
The color-depth of this LCD display, in bits per pixel.
- orientationDeg
Type: System. . :: . .Int32%
The orientation of this LCD display, in degrees of rotation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.