ReadCustomData Method

NI Vision for Visual Basic

ReadCustomData Method

Syntax

CWIMAQVision.ReadCustomData Image, Key, Data

Return Type

Long

On success, this method returns 0. On failure, this method returns a negative number.

Purpose

Reads user data from a keyname in an image.

Remarks

You can use this method with all image types.

Parameters

Image As CWIMAQImage

The image containing the data to read.

Key As String

The keyname from which to read the data.

Data As CWIMAQData

The data stored with the keyname in the image.