How do you create a picture of a multicolumn listbox? I have data in a multicolumn list, and I need to send it to a pdf report, and I'm able to append control images to that pdf report. I want to resize the multicolumn list's image, but maybe I can do that by turning it into a picture and appending that picture to the pdf report instead.
In brief: Is there a way to add a resized image of a multicolumn list to a pdf report, with no special 3rd party stuff? Or more immediately, how can you create a picture of a multicolumn listbox and send it to a picture control?
On the block diagram, right-click on the control, and select Create » Invoke Node » Get Image.
Go to Programming » Graphics and Sound » Picture Functions. Select RGB to Color.vi, and place it on the block diagram.
(Optional) Create three numeric constants or controls, and wire one numeric to each input terminal on the RGB to Color function. These numbers are the proportion of red, green, and blue used in the color, and will be used to set the background color of the image of the control.
(Optional) Wire the Color output terminal of the RGB to Color function to the BG Color input terminal on the invoke node.
(Optional) Create a numeric constant, and wire it to the Image Depth terminal on the invoke node. Select an image bit depth (usually either 4, 8, 16, or 24), and type it into the constant.
Go to Programming » Graphics and Sound » Graphics Formats, select one of the image file write VIs (Write JPEG file.vi, Write PNG file.vi, or Write BMP file.vi), and place it on the block diagram.
Wire the Image Data output of the invoke node into the image data input of your chosen image write file VI.
Instead of XY Graph Refnum it should be Multicolumn list Box refnum in your case.