Pane class/Background Image property: Difference between revisions
Added new property page. |
m Category reorg |
||
| Line 82: | Line 82: | ||
{{ambox|text=Add links to external resources that would also help.}} | {{ambox|text=Add links to external resources that would also help.}} | ||
[[Category:VI Server Property]] | |||
Latest revision as of 13:38, 7 May 2020
| VI Server Property Information | |
|---|---|
| Property ID | 1816680B |
| Scope | Basic Development Environment |
| Data Name | BackgroundImage |
| Short Name* | BackgroundImage |
| Long Name* | Background Image |
| * Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE. | |
| Owning Class ID | 75 |
| Owning Class Name | Pane Class |
| Data Type | Common Cluster TypeDef data type |
| Property Node | |
| Available in Real-Time Operating System | Yes |
| Available in Run-Time Engine | Yes |
| Loads the block diagram into memory | No |
| Loads the front panel into memory | Yes |
| Need to authenticate before use | No |
| Permissions | Read/Write |
| Remote access allowed | Yes |
| Settable when the VI is running | Yes |
Sets the background image the pane uses. LabVIEW supports BMP, JPEG, and PNG graphic formats for background images.
This property is similar to the Browse option on the Appearance page of the Pane Properties dialog box.
If you want to use a picture to set the image, use the Picture to Pixmap VI to convert the data to an image data cluster before using this method. To use a file to set the image, use the Read JPEG File, Read PNG File, or Read BMP File VIs to convert the data to an image data cluster before using this method.
| Name | Description |
|---|---|
| Image Type | Reserved for future use. |
| Image Depth | Specifies the color depth of the image, which is the number of bits to use to describe the color of each pixel in the image. Valid values include 1, 4, 8, and 24 bits per pixel. Image Depth affects how LabVIEW interprets the values of Image and Colors.
|
| Image | A 1-D array of bytes that describes the color of each pixel in the image in raster order. The value of Image Depth determines how LabVIEW interprets the value of this input. If Image Depth is |
| Mask | An array of bytes in which each bit describes mask information for a pixel. The first byte describes the first eight pixels, the second byte describes the next eight pixels, and so on. If a bit is zero, LabVIEW draws the corresponding pixel as transparent. If the array is empty, LabVIEW draws all pixels without transparency. If the array does not contain a bit for each pixel in the image, LabVIEW draws any pixels missing from the array without transparency. |
| Colors | An array of RGB color values that correspond to the values in image. The value of Image Depth determines how LabVIEW interprets the value of this input. If Image Depth is |
| Rectangle | A cluster that contains coordinates that describe the bounding rectangle in which you want to draw the image. The VI clips the image to the width and height of the rectangle. The bottom and right edges of the rectangle bounds do not contain image pixels. Horizontal coordinates increase to the right, and vertical coordinates increase to the bottom.
|
Uses
| |
Specific use cases for this property. |
History
| |
History information is needed. What changes have occurred over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |
See Also
| |
Add links to internal wiki pages that would also help. |
External Links
| |
Add links to external resources that would also help. |