Image

Basic example

View.Image(Image.ImagePath "icon.png")

Basic example with styling

View.Image(
    horizontalOptions = style.Position,
    verticalOptions = style.Position,
    backgroundColor = style.ViewColor,
    source = Image.ImagePath "icon.png"
)

See also:

More examples

A simple image drawn from a resource or URL is as follows:

let monkey = "http://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/Papio_anubis_%28Serengeti%2C_2009%29.jpg/200px-Papio_anubis_%28Serengeti%2C_2009%29.jpg"

View.Image(Image.ImagePath monkey)