imaqSetWindowZoomToFit

NI Vision for LabWindows/CVI Function

imaqSetWindowZoomToFit

Usage

int imaqSetWindowZoomToFit(int windowNumber, int zoomToFit);

Purpose

Sets whether the window is in zoom to fit mode.

Parameters

Name

Type

Description

windowNumber int The window number of the image window.
zoomToFit int Set this parameter to TRUE if the given window should automatically zoom to fit the image and FALSE if the window should operate normally.

Return Value

Type

Description

int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError().