Back

AddImage

JS Py
Hello World

Creates and adds a Image to a Layout.

app.AddImage( layout, file, width=-1, height=-1, options='', pxw=-1, pxh=-1 ) → app object: Image

See CreateImage for full documentation.

Number
Number: pixel
String: path to file ( “/absolute/...” or “relative/...” )
String: comma “,” separated: “fix”, “alias”, px, Button, “ScaleCenter”, async, “FontAwesome”, “Resize”, “TouchThrough”, Icon, “wallpaper”, NoPlay
app object: Layout