Hi, Denis,
To answer your questions:
1. The Bounds property includes all the different components of a control, such as the control itself, label, caption, graph legends, and so on, which you can move around in relation to one another. The Bounds attribute returns the dimensions of the rectangle that encloses all of the components; it does not refer specifically to the height and width of the control component. In most cases, users want to alter the height and width of an object and not all of its associated features; hence the Bounds property being read only. Most controls have other properties you can use to change their size, such as Text Width and Plot Area:Size. As you pointed out, there is currently no such property for the image display control.
2. When the front panel is resized, LabVIEW must calculate the factor by which the panel grew or shrunk, and apply this factor to the panel�s controls; however, applying this factor may cause a control to be, for example, 106.7 pixels wide. Since a control can only be drawn using integer pixel sizes, LabVIEW must round to 107 pixels. When the panel is then grown very large, the effect of this round-off is amplified. The round-off effect is most pronounced when the panel is resized to be very small, because the loss of resolution is greatest in this case. Try setting a minimum size for your panel in VI Properties to prevent this effect. By default, the panel�s minimum size is set to the current size of the panel when "Scale All Objects on Panel" is enabled.
Alternatively, maybe you could use the IMAQ WindDraw window to display the image instead. You could use the IMAQ WindSize VI to set the WindDraw window size programmatically as you wanted to do with the image display control. In the meantime, I will make a suggestion that we add a property to set the size of the image display control.
Hope this helps. Best wishes with your application!
Best wishes,
D. Putnam
Applications Engineer
National Instruments