22. High-level API Reference
www.yoctopuce.com
251
YDisplay
display
→
get_displayWidth()
display
→
displayWidth()
Returns the display width, in pixels.
js
function get_displayWidth( )
cpp
int get_displayWidth( )
m
-(int) displayWidth
pas
function get_displayWidth( ): LongInt
vb
function get_displayWidth( ) As Integer
cs
int get_displayWidth( )
java
int get_displayWidth( )
uwp
Task<int> get_displayWidth( )
py
def get_displayWidth( )
php
function get_displayWidth( )
es
function get_displayWidth( )
cmd
YDisplay
target
get_displayWidth
Returns :
an integer corresponding to the display width, in pixels
On failure, throws an exception or returns
Y_DISPLAYWIDTH_INVALID
.
Summary of Contents for Yocto-Display
Page 1: ...Yocto Display User Manual...
Page 2: ......
Page 40: ...34 www yoctopuce com...
Page 52: ...46 www yoctopuce com...
Page 84: ...78 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 422: ...416 www yoctopuce com...