Develop a UI with a responsive image
Implement an external image into your project and make the image responsive to the window size.
Application example
In this example, the
Rockwell Automation
logo stretches to the edges of the application window as you resize it.
NOTE:
Download a sample project:
ResponsiveExternalImage.zipPrerequisites
- Download and extract the logo.
- To develop the project
- InProject view, double-clickMainWindow (type).The editor opens in a separate window.
- Drag the downloaded logo from your computer into the editor.InProject view, anImage1object appears underMainWindow (type).
- InProperties, setHorizontal alignmentandVertical alignmenttoStretch:
- Arrange the interface elements.
- Save the project.

Select
to run the project using the client emulator to test your project. To run the project on a remote client, see Add a client device.
Run
Provide Feedback