Image

The image render extension draws an image to the screen.  Images can be scaled and tiled.  When scaled, the image can also be set to maintain the aspect ratio.

Image Render Extension Options

  • name - The name of the image to use (string, optional)

  • scale - Enable scaling of the image if set to 1. The image will be loaded at full resolution and then scaled when rendered. If width and height are not set the image is scaled to the control size (number, optional)

  • loadscaled - Enable scaling on load of the image if set to 1. This will load the image at the spcified size and scale during the image decode. If width and height are not set the image is scaled to the control size (number, optional)

  • tile: -Tile the image, if width and height are not set the image is tiled to the control size (number, optional)

  • aspect - If scaling maintain the images aspect ratio (number, optional)

Non-scaled

Scaled to fill control without aspect ratio set

Non-scaled and tiled

Image Alignment