Develop a UI with a responsive external 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.
NOTA:
Download the sample
ExampleApplication-ResponsiveExternalImage.zipFactoryTalk Optix Studio
project:Prerequisites:
- Download, unzip, and copy the logo into thefolder: logo_to_copy_to_ProjectFiles.zipProjectName/ProjectFiles
- Create an image object:
- In theProject viewpane, expand theUIfolder.
- Right-clickMainWindow (type)and select .
- Configure the image object:
- In thePropertiespane, set the values of the following properties toStretch:
- Horizontal alignment
- Vertical alignment
- Set thePathproperty value to%PROJECTDIR%\RA_Logo.svg.SUGGERIMENTO: For best image quality and responsiveness, use anSVGimage.
- Arrange the interface elements.
- Save the project.

In
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.
FactoryTalk Optix Studio
, select Fornire un feedback