Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Importing Background Images for Panes

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Complete the following steps to import a background image for a pane.

  1. Right-click the scroll bar of the pane and select Properties from the shortcut menu to display the Pane Properties dialog box.
  2. Navigate to the Background tab and select an image from the Background list. Image Preview displays a preview of the image, and the image appears in the pane. You also can complete the following steps to select an image that does not appear in the Background list.
    1. Click the Browse button to display a file dialog box.
    2. Navigate to the image and click the OK button. The image appears in the Background list. LabVIEW supports BMP, JPEG, and PNG graphic formats for background images. If you attempt to load an image of an unsupported graphic format, LabVIEW returns an error.
    Note  If you select an image that does not appear in the Background list, LabVIEW does not add that image to the Background list permanently. To add an image to the list permanently, you must save the image in the labview\resource\backgrounds directory.
    1. Use the Position pull-down menu to set the positioning of the image to stretch, center, or tile.
    2. Click the OK button to close the Pane Properties dialog box and apply the background.

When you save a VI that contains a pane with a background image, LabVIEW saves the pane background image with the VI.

You also can use the Background Image property to set a pane background image programmatically. You can use the Background Mode property to set the positioning of a pane background image programmatically.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit