Zoom Factor Property

LabView Local Project Settings

Zoom Factor Property

Short Name: ZoomFactor

Installed With: Base Package

Class: Picture Properties

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.

Example

Remarks

The following table lists the characteristics of this property.

Available in Run-Time Engine and Real-Time Operating SystemYes
PermissionsRead/Write
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access disallowedNo
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

Example

Refer to the Picture Control - Zoom Attribute VI in the labview\examples\picture\pictctl.llb for an example of using the Zoom Factor property.

 Open example  Browse related examples