To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This Example show how to automatically size the image box to fit the image and position it on the front panel accordingly.
Description
In this Example, you can change the position of the image in runtime, This small piece of code follows a request from a client to have a .JPEG image moving on his front panel (e.g. scrolling a banner).The code prompts for an image path and position when run. The image box will then automatically size to fit the image and position it on the front panel accordingly.
Requirements:
Steps to Implement or Execute Code
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.