imaqGetWindowSize

NI Vision for LabWindows/CVI Function

imaqGetWindowSize

Usage

int imaqGetWindowSize(int windowNumber, int* width, int* height);

Purpose

Retrieves the size of a given image window.

Parameters

Name

Type

Description

windowNumber int The window number of the image window.
width int* On return, the width of the window. Set this parameter to NULL if you do not need this information.
height int* On return, the height of the window. Set this parameter to NULL if you do not need this information.

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