imaqSetWindowSize

NI Vision for LabWindows/CVI Function

imaqSetWindowSize

Usage

int imaqSetWindowSize(int windowNumber, int width, int height);

Purpose

Sets the size of an image window.

Parameters

Name

Type

Description

windowNumber int The window number of the image window.
width int The new width of the window.
height int The new height of the window.

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().