Picture class/Zoom Factor property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 6339809
Scope Basic Development Environment
Data Name ZoomFactor
Short Name* ZoomFactor
Long Name* Zoom Factor
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 15
Owning Class Name Picture Class
Data Type Single Float data type

Single Float

Property Node Zoom Factor
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

Factor by which to scale the image in a picture control or indicator.

For example, to decrease the size of the image to 50% of its original size, wire a value of 0.5 to this property. To increase the size of the image to 200% of its original size, wire a value of 2 to this property.

The value you wire to this property must be greater than or equal to 0.

If you change the zoom factor and LabVIEW draws part of the image outside the draw area of the picture control or indicator, you can use the Horizontal Scrollbar Visible and Vertical Scrollbar Visible properties to display scroll bars for the picture control or indicator.



Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links