LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to enlarge the picture in the picture control at the same scale(proportion) with what

the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.how to enlarge the picture in the picture control at the same scale(proportion) of what the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size. i have alter the vi properties and select "window size" there is a "s
cale all objects" tick box ,but failed,the picture ang the picture control (container)did not enlarge ,but the other control have enlarged,just opposite to my purpose .i thank it is a representional question although it may be very simple,in my around ,no one can solve it !
i have offered the vi and a jpeg file underside,who can help me amend the vi? greatly thanks!!! noticed that what i use is lv6.1,if you can solve the problem but need some other vi or lib files ,please offered all together!!!
0 Kudos
Message 1 of 6
(3,025 Views)
the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.Hi,

There are a couple of ways you can achieve this:

From front panel:
1) Click on the control.
2) Click on Edit (in the front panel menu bar) >> Scale Object with Panel

Programmatically:
1) Open a reference to the VI.
2) Use an invoke node method called 'Set FP Scaling".
3) Set the scaling mode to 'Set single Object'
4) Pass the reference of your control that you want to be scaled with the front panel.

I hope this helps.

Sincerely,
Feroz
National Instruments
0 Kudos
Message 2 of 6
(3,025 Views)
the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.Dear Feroz:
thank you for your help,but you still not understand my propose,i try yours way ,the picture control's size is larged,but the "picture" still invariab,can you understand? or this question i s also like this:"how can labview 6.1 use it's picture control
to enlarge a picture's length and width with keep it's primary long -width keep invariab,and it's definition is also keep invariab!"
0 Kudos
Message 3 of 6
(3,025 Views)
the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.Hi,

I am not quite sure if I understand what you are trying to do.

Sounds like you are trying to implement the zoom feature (increasing/decreasing the size of the picture inside a picture control, but not the size of the picture control itself). If this is what you are trying to do, then there is a property node in LabVIEW 7.0 that supports this feature (This property did not exist in LabVIEW 6.1). Please download the LabVIEW 7.0 evaluation version and run the attached VI.

Please let me know if this is not what you are trying to do.

Sincerely,
Feroz
0 Kudos
Message 4 of 6
(3,025 Views)
the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.Dear Feroz:
thank you for your enuthunisis very much!
what you say just is what i try to do!
but it is only partly solve my question,you see ,i only have lv6.1,i
haven't much money to enhance the lv7.0,in china ,it will cost 7666
yuan to enhance the lv 6.1 to lv 7.0.
but i really thank for your help,my english is not well,welcome
you to beijing ,greatwall,you know?
0 Kudos
Message 5 of 6
(3,025 Views)
the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.Hi,
In 6.1, since there is no zoom property, you will have to use the draw area size property that I believe you are already using.

Good luck.

Feroz
0 Kudos
Message 6 of 6
(3,025 Views)