22. High-level API Reference
www.yoctopuce.com
193
YModule
module
→
get_icon2d()
module
→
icon2d()
Returns the icon of the module.
js
function get_icon2d( )
cpp
string get_icon2d( )
m
-(NSMutableData*) icon2d
pas
function get_icon2d( ): TByteArray
vb
function get_icon2d( ) As Byte
cs
byte[] get_icon2d( )
java
byte[] get_icon2d( )
uwp
Task<byte[]> get_icon2d( )
py
def get_icon2d( )
php
function get_icon2d( )
es
function get_icon2d( )
cmd
YModule
target
get_icon2d
The icon is a PNG image and does not exceeds 1536 bytes.
Returns :
a binary buffer with module icon, in png format. On failure, throws an exception or returns
YAPI_INVALID_STRING
.
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...