22. High-level API Reference
www.yoctopuce.com
265
YDisplay
display
→
get_orientation()
display
→
orientation()
Returns the currently selected display orientation.
js
function get_orientation( )
cpp
Y_ORIENTATION_enum get_orientation( )
m
-(Y_ORIENTATION_enum) orientation
pas
function get_orientation( ): Integer
vb
function get_orientation( ) As Integer
cs
int get_orientation( )
java
int get_orientation( )
uwp
Task<int> get_orientation( )
py
def get_orientation( )
php
function get_orientation( )
es
function get_orientation( )
cmd
YDisplay
target
get_orientation
Returns :
a value among
Y_ORIENTATION_LEFT
,
Y_ORIENTATION_UP
,
Y_ORIENTATION_RIGHT
and
Y_ORIENTATION_DOWN
corresponding to the currently selected display orientation
On failure, throws an exception or returns
Y_ORIENTATION_INVALID
.
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...